Fix tests & Router is now using Dependency Injection instead of DI Registry

This commit is contained in:
nupplaPhil 2020-01-19 22:38:33 +01:00
parent d5a473abda
commit f9d0e57f91
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
12 changed files with 54 additions and 29 deletions

View file

@ -24,7 +24,7 @@ class SemaphoreLockTest extends LockTest
$configMock = \Mockery::mock(JitConfig::class);
$configMock
->shouldReceive('get')
->with('system', 'temppath', NULL, false)
->with('system', 'temppath')
->andReturn('/tmp/');
$dice->shouldReceive('create')->with(IConfig::class)->andReturn($configMock);