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()