File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,6 @@ protected function setUp(): void
98
98
*/
99
99
protected function tearDown (): void
100
100
{
101
- $ filesystem = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->get (Filesystem::class);
102
- $ mediaDirectory = $ filesystem ->getDirectoryWrite (DirectoryList::MEDIA );
103
- $ mediaDirectory ->delete ('import/images ' );
104
-
105
101
/* We rollback here the products created during the Import because they were
106
102
created during test execution and we do not have the rollback for them */
107
103
foreach ($ this ->importedProducts as $ productSku ) {
@@ -215,6 +211,7 @@ public static function mediaImportImageFixtureRollback()
215
211
$ varDirectory = $ fileSystem ->getDirectoryWrite (DirectoryList::VAR_DIR );
216
212
$ varDirectory ->delete ('import ' );
217
213
$ mediaDirectory ->delete ('catalog ' );
214
+ $ mediaDirectory ->delete ('import ' );
218
215
}
219
216
220
217
/**
You can’t perform that action at this time.
0 commit comments