From: Michael Date: Sun, 25 Jul 2021 04:52:17 +0000 (+0000) Subject: Tests X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=12c63c9b971167d206ad494f6908f001641b0d77;p=friendica.git Tests --- diff --git a/tests/src/App/RouterTest.php b/tests/src/App/RouterTest.php index 8317702cdf..987df5ff9c 100644 --- a/tests/src/App/RouterTest.php +++ b/tests/src/App/RouterTest.php @@ -57,6 +57,8 @@ class RouterTest extends TestCase $this->cache->shouldReceive('set')->andReturn(false); $this->lock = Mockery::mock(ILock::class); + $this->cache->shouldReceive('acquire')->andReturn(true); + $this->cache->shouldReceive('isLocked')->andReturn(false); } public function testGetModuleClass()