Skip to content

Commit fd57435

Browse files
author
Maksym Novik
committed
[Backport] MAGETWO-91411: Delete action in grid could be sent multiple times.
Reformated file.
1 parent 92320d7 commit fd57435

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/**
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
5-
*/
5+
*/
6+
67
use Magento\Customer\Api\CustomerRepositoryInterface;
78
use Magento\Customer\Api\Data\CustomerInterface;
89
use Magento\Customer\Api\Data\CustomerInterfaceFactory;
@@ -19,14 +20,14 @@
1920
/** @var CustomerInterfaceFactory $customerFactory */
2021
$customerFactory = $objectManager->get(CustomerInterfaceFactory::class);
2122

22-
for ($i=1; $i<=5; $i++) {
23+
for ($i = 1; $i <= 5; $i++) {
2324
/** @var CustomerInterface $customer */
2425
$customer = $customerFactory->create();
2526
$customer->setFirstname('John')
2627
->setGroupId(1)
2728
->setLastname('Smith')
2829
->setWebsiteId(1)
29-
->setEmail('customer'.$i.'@example.com');
30+
->setEmail('customer' . $i . '@example.com');
3031
try {
3132
$customerRepository->save($customer, 'password');
3233
} catch (\Exception $e) {

0 commit comments

Comments
 (0)