1010
1111class DbDumperFactoryTest extends TestCase
1212{
13- public function setUp ()
13+ public function setUp (): void
1414 {
1515 parent ::setUp ();
1616
@@ -96,7 +96,7 @@ public function it_can_add_named_options_to_the_dump_command()
9696
9797 $ this ->app ['config ' ]->set ('database.connections.mysql.dump ' , $ dumpConfig );
9898
99- $ this ->assertContains ('--single-transaction ' , $ this ->getDumpCommand ('mysql ' ));
99+ $ this ->assertStringContainsString ('--single-transaction ' , $ this ->getDumpCommand ('mysql ' ));
100100 }
101101
102102 /** @test */
@@ -106,7 +106,7 @@ public function it_can_add_named_options_with_an_array_value_to_the_dump_command
106106
107107 $ this ->app ['config ' ]->set ('database.connections.mysql.dump ' , $ dumpConfig );
108108
109- $ this ->assertContains (implode (' ' , $ dumpConfig ['include_tables ' ]), $ this ->getDumpCommand ('mysql ' ));
109+ $ this ->assertStringContainsString (implode (' ' , $ dumpConfig ['include_tables ' ]), $ this ->getDumpCommand ('mysql ' ));
110110 }
111111
112112 /** @test */
@@ -116,13 +116,13 @@ public function it_can_add_arbritrary_options_to_the_dump_command()
116116
117117 $ this ->app ['config ' ]->set ('database.connections.mysql.dump ' , $ dumpConfig );
118118
119- $ this ->assertContains ($ dumpConfig ['add_extra_option ' ], $ this ->getDumpCommand ('mysql ' ));
119+ $ this ->assertStringContainsString ($ dumpConfig ['add_extra_option ' ], $ this ->getDumpCommand ('mysql ' ));
120120 }
121121
122122 /** @test */
123123 public function it_adds_the_inserts_option_to_the_pgsql_dump_command ()
124124 {
125- $ this ->assertContains ('--inserts ' , $ this ->getDumpCommand ('pgsql ' ));
125+ $ this ->assertStringContainsString ('--inserts ' , $ this ->getDumpCommand ('pgsql ' ));
126126 }
127127
128128 protected function getDumpCommand (string $ connectionName ): string
0 commit comments