mirror of
https://github.com/friendica/friendica
synced 2025-04-22 09:10:10 +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
|
@ -43,13 +43,13 @@ class BBCodeTest extends MockedTest
|
|||
$l10nMock = \Mockery::mock(L10n::class);
|
||||
$l10nMock->shouldReceive('t')->withAnyArgs()->andReturnUsing(function ($args) { return $args; });
|
||||
$this->dice->shouldReceive('create')
|
||||
->with(L10n::class, [])
|
||||
->with(L10n::class)
|
||||
->andReturn($l10nMock);
|
||||
|
||||
$baseUrlMock = \Mockery::mock(BaseURL::class);
|
||||
$baseUrlMock->shouldReceive('get')->withAnyArgs()->andReturn('friendica.local');
|
||||
$this->dice->shouldReceive('create')
|
||||
->with(BaseURL::class, [])
|
||||
->with(BaseURL::class)
|
||||
->andReturn($baseUrlMock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue