Rename checkAPIKey to checkMSSKey (MailPoet Sending Service) [PREMIUM-4]

This commit is contained in:
Alexey Stoletniy
2017-05-05 18:12:48 +03:00
parent a7260cba3d
commit 98eab956e9
8 changed files with 22 additions and 22 deletions

View File

@@ -95,7 +95,7 @@ class SendingServiceKeyCheckTest extends MailPoetTest {
function testItProcesses() {
$this->sskeycheck->bridge = Stub::make(
new Bridge,
array('checkAPIKey' => array('code' => Bridge::MAILPOET_KEY_VALID)),
array('checkMSSKey' => array('code' => Bridge::MAILPOET_KEY_VALID)),
$this
);
$this->setMailPoetSendingMethod();
@@ -113,7 +113,7 @@ class SendingServiceKeyCheckTest extends MailPoetTest {
function testItProcessesSendingServiceKeyCheckQueue() {
$this->sskeycheck->bridge = Stub::make(
new Bridge,
array('checkAPIKey' => array('code' => Bridge::MAILPOET_KEY_VALID)),
array('checkMSSKey' => array('code' => Bridge::MAILPOET_KEY_VALID)),
$this
);
$this->setMailPoetSendingMethod();
@@ -126,7 +126,7 @@ class SendingServiceKeyCheckTest extends MailPoetTest {
function testItReschedulesCheckOnException() {
$this->sskeycheck->bridge = Stub::make(
new Bridge,
array('checkAPIKey' => function () { throw new \Exception(); }),
array('checkMSSKey' => function () { throw new \Exception(); }),
$this
);
$this->setMailPoetSendingMethod();
@@ -140,7 +140,7 @@ class SendingServiceKeyCheckTest extends MailPoetTest {
function testItReschedulesCheckOnError() {
$this->sskeycheck->bridge = Stub::make(
new Bridge,
array('checkAPIKey' => array('code' => Bridge::CHECK_ERROR_UNAVAILABLE)),
array('checkMSSKey' => array('code' => Bridge::CHECK_ERROR_UNAVAILABLE)),
$this
);
$this->setMailPoetSendingMethod();