Skip to content

Commit 22897f5

Browse files
committed
improve test
1 parent e868e60 commit 22897f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductViewTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ public function testProductFilterNfinset()
691691
QUERY;
692692

693693
$response = $this->graphQlQuery($query);
694-
$this->assertNotEquals($response['products']['items'][0]['sku'], $productSku);
694+
$this->assertNotContains($productSku, array_column($response['products']['items'], 'sku'));
695695
}
696696

697697
/**

0 commit comments

Comments
 (0)