We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29431e9 commit 47c8d54Copy full SHA for 47c8d54
app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Category/Collection/UrlRewriteTest.php
@@ -22,16 +22,16 @@ protected function setUp()
22
->getMock();
23
}
24
25
-
26
public function testStoreIdUsedByUrlRewrite()
27
{
+ $cond = '{{table}}.is_autogenerated = 1 AND {{table}}.store_id = 100 AND {{table}}.entity_type = \'category\'';
28
$this->_model->expects($this->once())
29
->method('joinTable')
30
->with(
31
$this->anything(),
32
33
34
- $this->equalTo('{{table}}.is_autogenerated = 1 AND {{table}}.store_id = 100 AND {{table}}.entity_type = \'category\''),
+ $this->equalTo($cond),
35
$this->anything()
36
);
37
$this->_model->setStoreId(100);
0 commit comments