Skip to content

Commit 519398d

Browse files
author
Karpenko, Oleksandr
committed
MAGETWO-63667: Can't get store-specific data via catalog API
1 parent b026e9b commit 519398d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductRepositoryInterfaceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,9 +751,9 @@ public function testGetListWithFilteringByWebsite()
751751
$this->assertArrayHasKey('search_criteria', $response);
752752
$this->assertArrayHasKey('total_count', $response);
753753
$this->assertArrayHasKey('items', $response);
754+
$this->assertTrue(count($response['items']) == 1);
754755
$this->assertTrue(isset($response['items'][0]['sku']));
755756
$this->assertEquals('simple-2', $response['items'][0]['sku']);
756-
$this->assertTrue(count($response['items']) == 1);
757757
}
758758

759759
/**

0 commit comments

Comments
 (0)