Fix mock naming and strings in integration tests

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 14:19:00 +01:00
committed by Jan Jakeš
parent e66c76133e
commit 2ec85eee7b
23 changed files with 50 additions and 50 deletions

View File

@@ -53,7 +53,7 @@ class SettingsControllerTest extends \MailPoetTest {
public function testItReturnsDefaultValueAsFallback() {
$settings = Stub::make($this->controller, [
'settings_repository' => $this->make(SettingsRepository::class, [
'settingsRepository' => $this->make(SettingsRepository::class, [
'findOneByName' => null,
'findAll' => [],
]),