File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 20
20
use Magento \Framework \App \Bootstrap ;
21
21
use Magento \Framework \App \Filesystem \DirectoryList ;
22
22
use Magento \Framework \App \ObjectManager ;
23
+ use Magento \Framework \Exception \NoSuchEntityException ;
23
24
use Magento \Framework \Filesystem ;
24
25
use Magento \Framework \Registry ;
25
26
use Magento \ImportExport \Model \Import ;
26
27
use Magento \Store \Model \Store ;
27
28
use Psr \Log \LoggerInterface ;
28
- use Magento \Framework \Exception \NoSuchEntityException ;
29
29
30
30
/**
31
31
* Class ProductTest
@@ -95,6 +95,7 @@ protected function tearDown()
95
95
try {
96
96
$ product = $ productRepository ->get ($ productSku , false , null , true );
97
97
$ productRepository ->delete ($ product );
98
+ // phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
98
99
} catch (NoSuchEntityException $ e ) {
99
100
// nothing to delete
100
101
}
@@ -1097,6 +1098,7 @@ public function testProductsWithMultipleStores()
1097
1098
/**
1098
1099
* Test url keys properly generated in multistores environment.
1099
1100
*
1101
+ * @magentoConfigFixture current_store catalog/seo/product_use_categories 1
1100
1102
* @magentoDataFixture Magento/Store/_files/core_fixturestore.php
1101
1103
* @magentoDataFixture Magento/Catalog/_files/category_with_two_stores.php
1102
1104
* @magentoDbIsolation enabled
You can’t perform that action at this time.
0 commit comments