Skip to content

Commit 2a01489

Browse files
alepane21rostyslav-hymon
authored andcommitted
fixes to code style
1 parent 47c8d54 commit 2a01489

File tree

1 file changed

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

1 file changed

+10
-11
lines changed

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

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ class UrlRewriteTest extends \PHPUnit\Framework\TestCase
1515

1616
protected function setUp()
1717
{
18-
$this->_model = $this->getMockBuilder(
19-
\Magento\Catalog\Model\ResourceModel\Category\Collection::class
20-
)->disableOriginalConstructor()
18+
$this->_model = $this->getMockBuilder(\Magento\Catalog\Model\ResourceModel\Category\Collection::class)
19+
->disableOriginalConstructor()
2120
->setMethodsExcept(['joinUrlRewrite', 'setStoreId', 'getStoreId'])
2221
->getMock();
2322
}
@@ -26,14 +25,14 @@ public function testStoreIdUsedByUrlRewrite()
2625
{
2726
$cond = '{{table}}.is_autogenerated = 1 AND {{table}}.store_id = 100 AND {{table}}.entity_type = \'category\'';
2827
$this->_model->expects($this->once())
29-
->method('joinTable')
30-
->with(
31-
$this->anything(),
32-
$this->anything(),
33-
$this->anything(),
34-
$this->equalTo($cond),
35-
$this->anything()
36-
);
28+
->method('joinTable')
29+
->with(
30+
$this->anything(),
31+
$this->anything(),
32+
$this->anything(),
33+
$this->equalTo($cond),
34+
$this->anything()
35+
);
3736
$this->_model->setStoreId(100);
3837
$this->_model->joinUrlRewrite();
3938
}

0 commit comments

Comments
 (0)