]> git.mxchange.org Git - friendica.git/commitdiff
Tests
authorMichael <heluecht@pirati.ca>
Sun, 25 Jul 2021 04:52:17 +0000 (04:52 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 25 Jul 2021 04:52:17 +0000 (04:52 +0000)
tests/src/App/RouterTest.php

index 8317702cdffe5bb2675b8c23e8fcf9a3a052918c..987df5ff9cceff62f8a0819c5487a8c60098de78 100644 (file)
@@ -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()