diff --git a/tests/Util/AppMockTrait.php b/tests/Util/AppMockTrait.php index c6f07897c6..c6d730d0fe 100644 --- a/tests/Util/AppMockTrait.php +++ b/tests/Util/AppMockTrait.php @@ -141,6 +141,10 @@ trait AppMockTrait ->shouldReceive('get') ->with('database', 'database') ->andReturn(getenv('MYSQL_DATABASE')); + $this->configMock + ->shouldReceive('get') + ->with('database', 'disable_pdo') + ->andReturn(true); $this->configMock ->shouldReceive('get') ->with('config', 'hostname')