File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
dev/tests/api-functional/testsuite/Magento/ConfigurableProduct/Api Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public function testGetUndefinedOption()
111
111
try {
112
112
$ this ->get ($ productSku , $ attributeId );
113
113
} catch (\SoapFault $ e ) {
114
- $ this ->assertContains (
114
+ $ this ->assertStringContainsString (
115
115
$ expectedMessage ,
116
116
$ e ->getMessage (),
117
117
'SoapFault does not contain expected message. '
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ public function testUpdateConfigurableProductLinksWithNonExistingProduct()
304
304
$ this ->saveProduct ($ response );
305
305
$ this ->fail ("Expected exception " );
306
306
} catch (\SoapFault $ e ) {
307
- $ this ->assertContains (
307
+ $ this ->assertStringContainsString (
308
308
$ expectedMessage ,
309
309
$ e ->getMessage (),
310
310
"SoapFault does not contain expected message. "
@@ -347,7 +347,7 @@ public function testUpdateConfigurableProductLinksWithDuplicateAttributes()
347
347
$ this ->saveProduct ($ response );
348
348
$ this ->fail ("Expected exception " );
349
349
} catch (\SoapFault $ e ) {
350
- $ this ->assertContains (
350
+ $ this ->assertStringContainsString (
351
351
$ expectedMessage ,
352
352
$ e ->getMessage (),
353
353
"SoapFault does not contain expected message. "
@@ -380,7 +380,7 @@ public function testUpdateConfigurableProductLinksWithWithoutVariationAttributes
380
380
$ this ->saveProduct ($ response );
381
381
$ this ->fail ("Expected exception " );
382
382
} catch (\SoapFault $ e ) {
383
- $ this ->assertContains (
383
+ $ this ->assertStringContainsString (
384
384
$ expectedMessage ,
385
385
$ e ->getMessage (),
386
386
"SoapFault does not contain expected message. "
You can’t perform that action at this time.
0 commit comments