Add public keyword to methods

[MAILPOET-2413]
This commit is contained in:
Amine Ben hammou
2019-12-26 12:56:49 +01:00
committed by wxa
parent ec409042d5
commit 43df66d162
823 changed files with 4440 additions and 4440 deletions

View File

@@ -16,13 +16,13 @@ use MailPoet\Subscription\Captcha;
use MailPoet\WP\Functions as WPFunctions;
class SetupTest extends \MailPoetTest {
function _before() {
public function _before() {
parent::_before();
$settings = SettingsController::getInstance();
$settings->set('signup_confirmation.enabled', false);
}
function testItCanReinstall() {
public function testItCanReinstall() {
$wp = Stub::make(new WPFunctions, [
'doAction' => asCallable([WPHooksHelper::class, 'doAction']),
]);
@@ -54,7 +54,7 @@ class SetupTest extends \MailPoetTest {
expect(WPHooksHelper::isActionDone($hook_name))->true();
}
function _after() {
public function _after() {
$this->di_container->get(SettingsRepository::class)->truncate();
}
}