Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
This commit is contained in:
committed by
Jack Kitterhing
parent
c91cd1255a
commit
d970dda637
@ -13,7 +13,7 @@ class SettingsControllerTest extends \MailPoetTest {
|
||||
|
||||
function _before() {
|
||||
parent::_before();
|
||||
$this->controller = new SettingsController();
|
||||
$this->controller = SettingsController::getInstance();
|
||||
}
|
||||
|
||||
function testItReturnsStoredValue() {
|
||||
|
Reference in New Issue
Block a user