]> git.mxchange.org Git - friendica.git/commitdiff
Test if the tests work better without PDO
authorMichael <heluecht@pirati.ca>
Sat, 7 Nov 2020 14:53:50 +0000 (14:53 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 7 Nov 2020 14:53:50 +0000 (14:53 +0000)
tests/Util/AppMockTrait.php

index c6f07897c6054be4bb072017a7600fc70745b43a..c6d730d0febc0a2c0733cfa12db1271303137052 100644 (file)
@@ -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')