Skip to content

Commit 300e5b4

Browse files
committed
GraphQL-502: [Test Coverage] We do not have a rollback for Magento/Customer/_files/three_customers.php fixture
1 parent 4492519 commit 300e5b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dev/tests/integration/testsuite/Magento/Customer/_files/three_customers_rollback.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@
3232
$customer = $customerRepository->get($customerEmail);
3333
$customerRepository->delete($customer);
3434
} catch (\Magento\Framework\Exception\NoSuchEntityException $exception) {
35-
// not found
35+
/**
36+
* Tests which are wrapped with MySQL transaction clear all data by transaction rollback.
37+
*/
38+
continue;
3639
}
3740

3841
/* Unlock account if it was locked for tokens retrieval */

0 commit comments

Comments
 (0)