File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
dev/tests/api-functional/testsuite/Magento Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function testGetAll()
67
67
try {
68
68
$ this ->_webApiCall ($ serviceInfo );
69
69
} catch (\Exception $ e ) {
70
- $ this ->assertContains (
70
+ $ this ->assertStringContainsString (
71
71
'Operation allowed only in HTTPS ' ,
72
72
$ e ->getMessage ()
73
73
);
Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ public function testGetChildren()
58
58
$ this ->assertArrayHasKey ('updated_at ' , $ product );
59
59
60
60
$ this ->assertArrayHasKey ('name ' , $ product );
61
- $ this ->assertContains ('Configurable Option ' , $ product ['name ' ]);
61
+ $ this ->assertStringContainsString ('Configurable Option ' , $ product ['name ' ]);
62
62
63
63
$ this ->assertArrayHasKey ('sku ' , $ product );
64
- $ this ->assertContains ('simple_ ' , $ product ['sku ' ]);
64
+ $ this ->assertStringContainsString ('simple_ ' , $ product ['sku ' ]);
65
65
66
66
$ this ->assertArrayHasKey ('status ' , $ product );
67
67
$ this ->assertEquals ('1 ' , $ product ['status ' ]);
You can’t perform that action at this time.
0 commit comments