mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:10:24 +00:00
Fix tests
This commit is contained in:
parent
2a87464c97
commit
07aaf292ec
12 changed files with 134 additions and 144 deletions
|
@ -41,8 +41,9 @@ class BBCodeTest extends MockedTest
|
|||
|
||||
$l10nMock = \Mockery::mock(L10n::class);
|
||||
$l10nMock->shouldReceive('t')->withAnyArgs()->andReturnUsing(function ($args) { return $args; });
|
||||
\Friendica\Core\L10n::init($l10nMock);
|
||||
|
||||
$this->dice->shouldReceive('create')
|
||||
->with(L10n::class)
|
||||
->andReturn($l10nMock);
|
||||
}
|
||||
|
||||
public function dataLinks()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue