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()
2323 );
2424 }
2525
26- protected function setDown () {
26+ protected function setDown ()
27+ {
2728 /* Refresh stores memory cache after store deletion */
2829 \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->get (
2930 \Magento \Store \Model \StoreManagerInterface::class
@@ -51,7 +52,8 @@ public function testJoinUrlRewriteOnDefault()
5152 */
5253 public function testJoinUrlRewriteNotOnDefaultStore ()
5354 {
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);
5557 $ storeId = $ store ->load ('second_category_store ' , 'code ' )->getId ();
5658 $ categories = $ this ->collection ->setStoreId ($ storeId )->joinUrlRewrite ()->addPathFilter ('1/2/3 ' );
5759 $ this ->assertCount (1 , $ categories );
Original file line number Diff line number Diff line change 5858$ newCategory
5959 ->setUrlKey ('category-3-on-2 ' );
6060$ 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