Move default setting values from Setting model to new controller

[MAILPOET-1757]
This commit is contained in:
Rostislav Wolny
2019-01-30 17:31:54 +01:00
parent 62dca415d4
commit 2c921a16aa
4 changed files with 18 additions and 106 deletions

View File

@ -41,7 +41,7 @@ class SettingsControllerTest extends \MailPoetTest {
function testItReturnsDefaultValueAsFallback() {
$settings = Stub::make($this->controller, [
'getDefaults' => function () {
'getAllDefaults' => function () {
return ['default1' => ['default2' => 1]];
}
]);