Remove static behavior from SettingsController
[MAILPOET-2436]
This commit is contained in:
committed by
Jack Kitterhing
parent
d970dda637
commit
388ced8b53
@ -42,7 +42,7 @@ class SettingsTest extends \MailPoetTest {
|
||||
expect($response->data['some']['setting']['key'])->true();
|
||||
|
||||
Setting::deleteMany();
|
||||
SettingsController::resetCache();
|
||||
$this->settings->resetCache();
|
||||
$response = $this->endpoint->get();
|
||||
expect($response->status)->equals(APIResponse::STATUS_OK);
|
||||
expect($response->data)->equals($this->settings->getAllDefaults());
|
||||
|
Reference in New Issue
Block a user