Test if the tests work better without PDO

This commit is contained in:
Michael 2020-11-07 14:53:50 +00:00
parent 9b95722fba
commit efc2969450

View File

@ -141,6 +141,10 @@ trait AppMockTrait
->shouldReceive('get') ->shouldReceive('get')
->with('database', 'database') ->with('database', 'database')
->andReturn(getenv('MYSQL_DATABASE')); ->andReturn(getenv('MYSQL_DATABASE'));
$this->configMock
->shouldReceive('get')
->with('database', 'disable_pdo')
->andReturn(true);
$this->configMock $this->configMock
->shouldReceive('get') ->shouldReceive('get')
->with('config', 'hostname') ->with('config', 'hostname')