Convert variable names to camel case

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 15:02:58 +01:00
committed by Jan Jakeš
parent f5da704106
commit 54549ff037
687 changed files with 15890 additions and 15887 deletions

View File

@@ -19,7 +19,7 @@ class PremiumKeyCheckTest extends \MailPoetTest {
public function _before() {
parent::_before();
$this->settings = SettingsController::getInstance();
$this->premium_key = '123457890abcdef';
$this->premiumKey = '123457890abcdef';
$this->worker = new PremiumKeyCheck($this->settings);
}
@@ -43,11 +43,11 @@ class PremiumKeyCheckTest extends \MailPoetTest {
$this->worker->bridge = $bridge;
$this->worker->bridge->expects($this->once())
->method('checkPremiumKey')
->with($this->equalTo($this->premium_key));
->with($this->equalTo($this->premiumKey));
$this->worker->bridge->expects($this->once())
->method('storePremiumKeyAndState')
->with(
$this->equalTo($this->premium_key),
$this->equalTo($this->premiumKey),
$this->equalTo($response)
);
$this->fillPremiumKey();
@@ -57,11 +57,11 @@ class PremiumKeyCheckTest extends \MailPoetTest {
private function fillPremiumKey() {
$this->settings->set(
Bridge::PREMIUM_KEY_SETTING_NAME,
$this->premium_key
$this->premiumKey
);
}
public function _after() {
$this->di_container->get(SettingsRepository::class)->truncate();
$this->diContainer->get(SettingsRepository::class)->truncate();
}
}