Remove forgotten test debug code
[MAILPOET-3415]
This commit is contained in:
committed by
Veljko V
parent
6a63ac26c7
commit
54cee207ea
@ -134,7 +134,6 @@ class FormsTest extends \MailPoetTest {
|
|||||||
wp_set_current_user(0);
|
wp_set_current_user(0);
|
||||||
$response = $this->endpoint->saveEditor($form);
|
$response = $this->endpoint->saveEditor($form);
|
||||||
expect($response->status)->equals(APIResponse::STATUS_FORBIDDEN);
|
expect($response->status)->equals(APIResponse::STATUS_FORBIDDEN);
|
||||||
codecept_debug($response);
|
|
||||||
expect($response->errors[0]['message'])->startsWith('Only administrator can');
|
expect($response->errors[0]['message'])->startsWith('Only administrator can');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user