mirror of
https://github.com/friendica/friendica
synced 2025-04-25 03:10:11 +00:00
Fix tests (remove superfluous second parameter)
This commit is contained in:
parent
921845c3bd
commit
1c49f1169f
6 changed files with 12 additions and 27 deletions
|
@ -15,7 +15,7 @@ class SystemTest extends TestCase
|
|||
$baseUrl = \Mockery::mock(BaseURL::class);
|
||||
$baseUrl->shouldReceive('getHostname')->andReturn('friendica.local')->once();
|
||||
$dice = \Mockery::mock(Dice::class);
|
||||
$dice->shouldReceive('create')->with(BaseURL::class, [])->andReturn($baseUrl);
|
||||
$dice->shouldReceive('create')->with(BaseURL::class)->andReturn($baseUrl);
|
||||
|
||||
DI::init($dice);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue