Skip to content

Commit 9a1e0e7

Browse files
committed
MC-33071: Stabilize Web-API tests
1 parent 039a827 commit 9a1e0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/Sales/Service/V1/ShipmentAddTrackTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function testShipmentTrackWithFailedOrderId()
115115
$exceptionMessage = $errorObj['message'];
116116
}
117117

118-
$this->assertContains(
118+
$this->assertStringContainsString(
119119
$exceptionMessage,
120120
'Could not save the shipment tracking.',
121121
'SoapFault or CouldNotSaveException does not contain exception message.'

0 commit comments

Comments
 (0)