We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef3a83 commit 94bb238Copy full SHA for 94bb238
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php
@@ -1160,7 +1160,7 @@ public function testSortByPosition()
1160
QUERY;
1161
$resultDesc = $this->graphQlQuery($queryDesc);
1162
$this->assertArrayNotHasKey('errors', $resultDesc);
1163
- $productsDesc = array_column($resultAsc['products']['items'], 'sku');
+ $productsDesc = array_column($resultDesc['products']['items'], 'sku');
1164
$expectedProductsDesc = array_reverse($expectedProductsAsc);
1165
$this->assertEquals($expectedProductsDesc, $productsDesc);
1166
}
0 commit comments