From: Michael Date: Sat, 7 Nov 2020 14:53:50 +0000 (+0000) Subject: Test if the tests work better without PDO X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=efc29694500f4b5f77347744e5d1e3b5cefbed16;p=friendica.git Test if the tests work better without PDO --- 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')