Move default setting values from Setting model to new controller
[MAILPOET-1757]
This commit is contained in:
@ -41,7 +41,7 @@ class SettingsControllerTest extends \MailPoetTest {
|
||||
|
||||
function testItReturnsDefaultValueAsFallback() {
|
||||
$settings = Stub::make($this->controller, [
|
||||
'getDefaults' => function () {
|
||||
'getAllDefaults' => function () {
|
||||
return ['default1' => ['default2' => 1]];
|
||||
}
|
||||
]);
|
||||
|
Reference in New Issue
Block a user