Unify key state constant names, leave back compat with unlocker [MAILPOET-1070]

This commit is contained in:
stoletniy
2017-08-29 10:58:16 +03:00
parent 28b894b26b
commit eff996e1f8
8 changed files with 77 additions and 76 deletions

View File

@ -20,7 +20,7 @@ class SendingServiceKeyCheckTest extends \MailPoetTest {
}
function testItChecksMSSKey() {
$response = array('code' => Bridge::PREMIUM_KEY_VALID);
$response = array('code' => Bridge::KEY_VALID);
$this->worker->bridge = Stub::make(
new Bridge,
array(