]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/App/ModuleTest.php
Merge pull request #10604 from MrPetovan/task/10603-ap-string-mentions
[friendica.git] / tests / src / App / ModuleTest.php
index 9b9bdd0cc3dcb816e53e9b30deb934651cd3beaa..730d1d886311365058dfbf314c02dd2e3ba338a5 100644 (file)
@@ -184,6 +184,8 @@ class ModuleTest extends DatabaseTest
                $cache->shouldReceive('set')->withAnyArgs()->andReturn(false)->atMost()->twice();
 
                $lock = Mockery::mock(ILock::class);
+               $lock->shouldReceive('acquire')->andReturn(true);
+               $lock->shouldReceive('isLocked')->andReturn(false);
 
                $router = (new App\Router([], __DIR__ . '/../../../static/routes.config.php', $l10n, $cache, $lock));