From 12c63c9b971167d206ad494f6908f001641b0d77 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 25 Jul 2021 04:52:17 +0000 Subject: [PATCH] Tests --- tests/src/App/RouterTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/src/App/RouterTest.php b/tests/src/App/RouterTest.php index 8317702cd..987df5ff9 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()