File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
dev/tests/integration/testsuite/Magento/Catalog/Model/ResourceModel Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ protected function setUp()
23
23
);
24
24
}
25
25
26
- protected function setDown () {
26
+ protected function setDown ()
27
+ {
27
28
/* Refresh stores memory cache after store deletion */
28
29
\Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->get (
29
30
\Magento \Store \Model \StoreManagerInterface::class
@@ -51,7 +52,8 @@ public function testJoinUrlRewriteOnDefault()
51
52
*/
52
53
public function testJoinUrlRewriteNotOnDefaultStore ()
53
54
{
54
- $ store = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->create (\Magento \Store \Model \Store::class);
55
+ $ store = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()
56
+ ->create (\Magento \Store \Model \Store::class);
55
57
$ storeId = $ store ->load ('second_category_store ' , 'code ' )->getId ();
56
58
$ categories = $ this ->collection ->setStoreId ($ storeId )->joinUrlRewrite ()->addPathFilter ('1/2/3 ' );
57
59
$ this ->assertCount (1 , $ categories );
Original file line number Diff line number Diff line change 58
58
$ newCategory
59
59
->setUrlKey ('category-3-on-2 ' );
60
60
$ repository ->save ($ newCategory );
61
- $ storeManager ->setCurrentStore ($ storeManager ->getStore ($ currentStoreId ));
61
+ $ storeManager ->setCurrentStore ($ storeManager ->getStore ($ currentStoreId ));
You can’t perform that action at this time.
0 commit comments