Skip to content
Snippets Groups Projects
Commit 16c013a9 authored by Vinciane's avatar Vinciane
Browse files

Correction NotificationScheduleControllerTest

parent d7325b1a
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ class NotificationScheduleControllerTest extends TestCase
$response = $NotificationScheduleController->create($fullRequest, new \Slim\Http\Response());
$responseBodyFail = json_decode((string) $response->getBody());
$this->assertSame('wrong format for dom', $responseBodyFail->errors[0]);
$this->assertSame( 'wrong format for dom', $responseBodyFail->errors[ count($responseBodyFail->errors) - 1 ] );
// CREATE
$environment = \Slim\Http\Environment::mock(['REQUEST_METHOD' => 'POST']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment