Better error code name when not able to send mails

[MAILPOET-1787]
This commit is contained in:
Ján Mikláš
2019-02-18 14:55:28 +01:00
committed by M. Shull
parent de4a95cf92
commit 91c88bc93f
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ class MailPoetMapperTest extends \MailPoetTest {
function testGetErrorBannedAccount() {
$api_result = [
'code' => API::RESPONSE_CODE_BANNED_ACCOUNT,
'code' => API::RESPONSE_CODE_CAN_NOT_SEND,
'status' => API::SENDING_STATUS_SEND_ERROR,
'message' => 'this is a spam',
];