File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class DbIsMysqlTest extends TestCase
1616 public function it_returns_true_if_laravel_database_default_connection_driver_is_mysql ()
1717 {
1818 DB ::shouldReceive ('getDefaultConnection ' )->withNoArgs ()->once ()->andReturn ('mysql ' );
19- Config::shouldReceive ('get ' )->with (" database.connections.mysql.driver " )->once ()->andReturn ('mysql ' );
19+ Config::shouldReceive ('get ' )->with (' database.connections.mysql.driver ' )->once ()->andReturn ('mysql ' );
2020
2121 $ this ->assertTrue (db_is_mysql ());
2222 }
@@ -25,7 +25,7 @@ public function it_returns_true_if_laravel_database_default_connection_driver_is
2525 public function it_returns_false_if_laravel_database_default_connection_driver_is_not_mysql ()
2626 {
2727 DB ::shouldReceive ('getDefaultConnection ' )->withNoArgs ()->once ()->andReturn ('sqlite ' );
28- Config::shouldReceive ('get ' )->with (" database.connections.sqlite.driver " )->once ()->andReturn ('sqlite ' );
28+ Config::shouldReceive ('get ' )->with (' database.connections.sqlite.driver ' )->once ()->andReturn ('sqlite ' );
2929
3030 $ this ->assertFalse (db_is_mysql ());
3131 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class DbIsSqliteTest extends TestCase
1616 public function it_returns_true_if_laravel_database_default_connection_driver_is_sqlite ()
1717 {
1818 DB ::shouldReceive ('getDefaultConnection ' )->withNoArgs ()->once ()->andReturn ('sqlite ' );
19- Config::shouldReceive ('get ' )->with (" database.connections.sqlite.driver " )->once ()->andReturn ('sqlite ' );
19+ Config::shouldReceive ('get ' )->with (' database.connections.sqlite.driver ' )->once ()->andReturn ('sqlite ' );
2020
2121 $ this ->assertTrue (db_is_sqlite ());
2222 }
@@ -25,7 +25,7 @@ public function it_returns_true_if_laravel_database_default_connection_driver_is
2525 public function it_returns_false_if_laravel_database_default_connection_driver_is_not_sqlite ()
2626 {
2727 DB ::shouldReceive ('getDefaultConnection ' )->withNoArgs ()->once ()->andReturn ('mysql ' );
28- Config::shouldReceive ('get ' )->with (" database.connections.mysql.driver " )->once ()->andReturn ('mysql ' );
28+ Config::shouldReceive ('get ' )->with (' database.connections.mysql.driver ' )->once ()->andReturn ('mysql ' );
2929
3030 $ this ->assertFalse (db_is_sqlite ());
3131 }
You can’t perform that action at this time.
0 commit comments