@@ -24,8 +24,8 @@ public function test_handle()
2424 $ this ->assertEquals (0 , $ result );
2525
2626 $ 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 );
2929 }
3030
3131 public function test_handle_dumpsOnRollback ()
@@ -44,7 +44,7 @@ public function test_handle_dumpsOnRollback()
4444 $ this ->assertEquals (0 , $ result );
4545
4646 $ output_string = $ output ->fetch ();
47- $ this ->assertContains ('Dumped schema ' , $ output_string );
47+ $ this ->assertStringContainsString ('Dumped schema ' , $ output_string );
4848 }
4949
5050 public function test_handle_doesNotLoadWhenDbHasMigrated ()
@@ -61,7 +61,7 @@ public function test_handle_doesNotLoadWhenDbHasMigrated()
6161 $ this ->assertEquals (0 , $ result );
6262
6363 $ output_string = $ output ->fetch ();
64- $ this ->assertNotContains ('Loaded schema ' , $ output_string );
64+ $ this ->assertStringNotContainsString ('Loaded schema ' , $ output_string );
6565
6666 $ this ->assertEquals (1 , \DB ::table ('test_ms ' )->count ());
6767 }
0 commit comments