We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15b0842 commit a7db6d9Copy full SHA for a7db6d9
dev/tests/api-functional/testsuite/Magento/Catalog/Api/ProductRepositoryInterfaceTest.php
@@ -722,7 +722,9 @@ public function testGetList()
722
}
723
724
$this->assertNotNull($index, 'Category information wasn\'t set');
725
- $this->assertEquals(['2'], $response['items'][0]['custom_attributes'][$index]['value']);
+
726
+ $expectedResult = (TESTS_WEB_API_ADAPTER == self::ADAPTER_SOAP) ? ['string' => '2'] : ['2'];
727
+ $this->assertEquals($expectedResult, $response['items'][0]['custom_attributes'][$index]['value']);
728
729
730
/**
0 commit comments