Skip to content
Snippets Groups Projects
Commit ebbf0e61 authored by Maksym Aposov's avatar Maksym Aposov
Browse files

Merge remote-tracking branch 'origin/MAGETWO-42577' into W1

parents cb7ef984 dd535123
Branches
No related merge requests found
......@@ -30,8 +30,9 @@ class AssociatedProductsCollectionTest extends \PHPUnit_Framework_TestCase
$resultData = $collection->getColumnValues('sku');
$this->assertNotEmpty($resultData);
foreach (['simple-1', 'virtual-product'] as $skuExpected) {
$this->assertTrue(in_array($skuExpected, $resultData));
}
$expected = ['virtual-product', 'simple-1'];
sort($expected);
sort($resultData);
$this->assertEquals($expected, $resultData);
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment