]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/Console/AutomaticInstallationConsoleTest.php
Merge pull request #6638 from Ixiter/develop-markdown-anchors
[friendica.git] / tests / src / Core / Console / AutomaticInstallationConsoleTest.php
index 127a8bc3f87bdf38fdd4228de33925b1ec94f91f..41ccce0b28827410ebe67a6695d9788032af77b1 100644 (file)
@@ -52,7 +52,10 @@ class AutomaticInstallationConsoleTest extends ConsoleTest
                $this->db_user = getenv('MYSQL_USERNAME') . getenv('MYSQL_USER');
                $this->db_pass = getenv('MYSQL_PASSWORD');
 
-               $this->mockConfigGet('config', 'php_path', false);
+               $this->configCache
+                       ->shouldReceive('get')
+                       ->with('config', 'php_path', NULL)
+                       ->andReturn(false);
 
                $this->mockL10nT();
        }