Skip to content

Commit 0bca27c

Browse files
author
Michael Yu
committed
MAGETWO-71415 [The system grids] Mass actions process only 20 elements from all selected
- Fix integration test code style
1 parent f1d1005 commit 0bca27c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dev/tests/integration/testsuite/Magento/Customer/Controller/Adminhtml/Index/MassAssignGroupTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function testMassAssignGroupAction()
7575
public function testLargeGroupMassAssignGroupAction()
7676
{
7777

78-
for($i = 1; $i < 22; $i++){
78+
for ($i = 1; $i < 22; $i++) {
7979
$customer = $this->customerRepository->getById($i);
8080
$this->assertEquals(1, $customer->getGroupId());
8181
}
@@ -90,7 +90,7 @@ public function testLargeGroupMassAssignGroupAction()
9090
\Magento\Framework\Message\MessageInterface::TYPE_SUCCESS
9191
);
9292
$this->assertRedirect($this->stringStartsWith($this->baseControllerUrl));
93-
for($i = 1; $i < 22; $i++){
93+
for ($i = 1; $i < 22; $i++) {
9494
$customer = $this->customerRepository->getById($i);
9595
$this->assertEquals(0, $customer->getGroupId());
9696
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,4 +424,3 @@
424424
->setCreatedAt('2012-02-28 15:52:26');
425425
$customer->isObjectNew(true);
426426
$customer->save();
427-

0 commit comments

Comments
 (0)