Skip to content

Commit ebbf0e6

Browse files
author
Maksym Aposov
committed
Merge remote-tracking branch 'origin/MAGETWO-42577' into W1
2 parents cb7ef98 + dd53512 commit ebbf0e6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dev/tests/integration/testsuite/Magento/GroupedProduct/Model/ResourceModel/Product/Type/Grouped/AssociatedProductsCollectionTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ public function testGetColumnValues()
3030
$resultData = $collection->getColumnValues('sku');
3131
$this->assertNotEmpty($resultData);
3232

33-
foreach (['simple-1', 'virtual-product'] as $skuExpected) {
34-
$this->assertTrue(in_array($skuExpected, $resultData));
35-
}
33+
$expected = ['virtual-product', 'simple-1'];
34+
sort($expected);
35+
sort($resultData);
36+
$this->assertEquals($expected, $resultData);
3637
}
3738
}

0 commit comments

Comments
 (0)