Skip to content

Commit 47c8d54

Browse files
alepane21rostyslav-hymon
authored andcommitted
code style fixes
1 parent 29431e9 commit 47c8d54

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Category/Collection

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Category/Collection/UrlRewriteTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ protected function setUp()
2222
->getMock();
2323
}
2424

25-
2625
public function testStoreIdUsedByUrlRewrite()
2726
{
27+
$cond = '{{table}}.is_autogenerated = 1 AND {{table}}.store_id = 100 AND {{table}}.entity_type = \'category\'';
2828
$this->_model->expects($this->once())
2929
->method('joinTable')
3030
->with(
3131
$this->anything(),
3232
$this->anything(),
3333
$this->anything(),
34-
$this->equalTo('{{table}}.is_autogenerated = 1 AND {{table}}.store_id = 100 AND {{table}}.entity_type = \'category\''),
34+
$this->equalTo($cond),
3535
$this->anything()
3636
);
3737
$this->_model->setStoreId(100);

0 commit comments

Comments
 (0)