mirror of
https://github.com/friendica/friendica
synced 2025-04-23 06:30:11 +00:00
Fix tests & Router is now using Dependency Injection instead of DI Registry
This commit is contained in:
parent
d5a473abda
commit
f9d0e57f91
12 changed files with 54 additions and 29 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue