From efc29694500f4b5f77347744e5d1e3b5cefbed16 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 7 Nov 2020 14:53:50 +0000 Subject: [PATCH] Test if the tests work better without PDO --- tests/Util/AppMockTrait.php | 4 ++++ 1 file changed, 4 insertions(+) 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')