File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
InventoryImportExport/Test/Integration/Model/Import Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 22
22
use Magento \ImportExport \Model \Import ;
23
23
use Magento \ImportExport \Model \Import \Source \Csv ;
24
24
use Magento \ImportExport \Model \Import \Source \CsvFactory ;
25
+ use Magento \ImportExport \Model \ResourceModel \Import \Data ;
25
26
use Magento \InventoryApi \Api \Data \SourceItemInterface ;
26
27
use Magento \InventoryApi \Api \Data \SourceItemSearchResultsInterface ;
27
28
use Magento \InventoryApi \Api \SourceItemRepositoryInterface ;
@@ -316,6 +317,11 @@ protected function tearDown(): void
316
317
// product already deleted
317
318
}
318
319
}
320
+
321
+ /** @var Data $dataSourceModel */
322
+ $ dataSourceModel = $ objectManager ->create (Data::class);
323
+ $ dataSourceModel ->cleanBunches ();
324
+
319
325
$ registry ->unregister ('isSecureArea ' );
320
326
$ registry ->register ('isSecureArea ' , false );
321
327
}
You can’t perform that action at this time.
0 commit comments