Skip to content

Commit 29cb459

Browse files
committed
AC-7385: Integration tests failure in SourcesTest during PR processing
1 parent 2b94c16 commit 29cb459

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

InventoryImportExport/Test/Integration/Model/Import/ProductTest.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,8 @@ protected function tearDown(): void
320320

321321
/** @var Data $dataSourceModel */
322322
$dataSourceModel = $objectManager->create(Data::class);
323-
try {
324-
$dataSourceModel->cleanBunches();
325-
} catch (\Exception $e) {
326-
// nothing to clean
327-
}
323+
$dataSourceModel->cleanBunches();
324+
328325
$registry->unregister('isSecureArea');
329326
$registry->register('isSecureArea', false);
330327
}

0 commit comments

Comments
 (0)