Skip to content

Commit 3dcb578

Browse files
committed
MC-33071: Stabilize Web-API tests
1 parent 04f9eab commit 3dcb578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testAdd($optionData)
4646
$updatedData = $this->getAttributeOptions($testAttributeCode);
4747
$lastOption = array_pop($updatedData);
4848
foreach ($updatedData as $option) {
49-
$this->assertNotContains('id', $option['value']);
49+
$this->assertStringNotContainsString('id', $option['value']);
5050
}
5151
$this->assertEquals(
5252
$optionData[AttributeOptionInterface::STORE_LABELS][0][AttributeOptionLabelInterface::LABEL],

0 commit comments

Comments
 (0)