Laravel 10 (#4706)
This commit is contained in:
parent
ad4ddc6300
commit
1d38b4f0e2
136 changed files with 1735 additions and 2008 deletions
|
@ -23,7 +23,7 @@ trait MocksPdoConnection
|
|||
|
||||
Model::unsetConnectionResolver();
|
||||
|
||||
$connection = new MySqlConnection($mock = Mockery::mock(PDO::class), 'testing_mock');
|
||||
$connection = new MySqlConnection($mock = \Mockery::mock(\PDO::class), 'testing_mock');
|
||||
$resolver = new ConnectionResolver(['mocked' => $connection]);
|
||||
$resolver->setDefaultConnection('mocked');
|
||||
|
||||
|
|
Reference in a new issue