@@ -24,8 +24,8 @@ public function test_handle()
24
24
$ this ->assertEquals (0 , $ result );
25
25
26
26
$ output_string = $ output ->fetch ();
27
- $ this ->assertContains ('Loaded schema ' , $ output_string );
28
- $ this ->assertContains ('Dumped schema ' , $ output_string );
27
+ $ this ->assertStringContainsString ('Loaded schema ' , $ output_string );
28
+ $ this ->assertStringContainsString ('Dumped schema ' , $ output_string );
29
29
}
30
30
31
31
public function test_handle_dumpsOnRollback ()
@@ -44,7 +44,7 @@ public function test_handle_dumpsOnRollback()
44
44
$ this ->assertEquals (0 , $ result );
45
45
46
46
$ output_string = $ output ->fetch ();
47
- $ this ->assertContains ('Dumped schema ' , $ output_string );
47
+ $ this ->assertStringContainsString ('Dumped schema ' , $ output_string );
48
48
}
49
49
50
50
public function test_handle_doesNotLoadWhenDbHasMigrated ()
@@ -61,7 +61,7 @@ public function test_handle_doesNotLoadWhenDbHasMigrated()
61
61
$ this ->assertEquals (0 , $ result );
62
62
63
63
$ output_string = $ output ->fetch ();
64
- $ this ->assertNotContains ('Loaded schema ' , $ output_string );
64
+ $ this ->assertStringNotContainsString ('Loaded schema ' , $ output_string );
65
65
66
66
$ this ->assertEquals (1 , \DB ::table ('test_ms ' )->count ());
67
67
}
0 commit comments