This commit is contained in:
Michael 2021-07-25 04:52:17 +00:00
parent 0dd0de1eb3
commit 12c63c9b97

View File

@ -57,6 +57,8 @@ class RouterTest extends TestCase
$this->cache->shouldReceive('set')->andReturn(false); $this->cache->shouldReceive('set')->andReturn(false);
$this->lock = Mockery::mock(ILock::class); $this->lock = Mockery::mock(ILock::class);
$this->cache->shouldReceive('acquire')->andReturn(true);
$this->cache->shouldReceive('isLocked')->andReturn(false);
} }
public function testGetModuleClass() public function testGetModuleClass()