Fix a unit test [MAILPOET-743]
This commit is contained in:
@ -48,8 +48,8 @@ class ServicesTest extends MailPoetTest {
|
|||||||
$this
|
$this
|
||||||
);
|
);
|
||||||
$response = $this->services_endpoint->verifyMailPoetKey($this->data);
|
$response = $this->services_endpoint->verifyMailPoetKey($this->data);
|
||||||
expect($response->status)->equals(APIResponse::STATUS_NOT_FOUND);
|
expect($response->status)->equals(APIResponse::STATUS_OK);
|
||||||
expect($response->errors[0]['message'])->contains($date->format('Y-m-d'));
|
expect($response->data['message'])->contains($date->format('Y-m-d'));
|
||||||
}
|
}
|
||||||
|
|
||||||
function testItRespondsWithErrorIfServiceIsUnavailable() {
|
function testItRespondsWithErrorIfServiceIsUnavailable() {
|
||||||
|
Reference in New Issue
Block a user