Fix test
This commit is contained in:
parent
d7f0ffdbc1
commit
2304642535
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ class BBCodeTest extends MockedTest
|
||||||
$this->configMock->shouldReceive('get')
|
$this->configMock->shouldReceive('get')
|
||||||
->with('system', 'no_smilies')
|
->with('system', 'no_smilies')
|
||||||
->andReturn(false);
|
->andReturn(false);
|
||||||
|
$this->configMock->shouldReceive('get')
|
||||||
|
->with('system', 'big_emojis')
|
||||||
|
->andReturn(false);
|
||||||
|
|
||||||
$l10nMock = \Mockery::mock(L10n::class);
|
$l10nMock = \Mockery::mock(L10n::class);
|
||||||
$l10nMock->shouldReceive('t')->withAnyArgs()->andReturnUsing(function ($args) { return $args; });
|
$l10nMock->shouldReceive('t')->withAnyArgs()->andReturnUsing(function ($args) { return $args; });
|
||||||
|
|
Loading…
Reference in a new issue