Skip to content
Snippets Groups Projects
Verified Commit 12a91af6 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #15570 TIME 0:10 unit test

parent 18b639d5
No related branches found
No related tags found
No related merge requests found
...@@ -421,7 +421,7 @@ class ResControllerTest extends TestCase ...@@ -421,7 +421,7 @@ class ResControllerTest extends TestCase
$response = $resController->create($fullRequest, new \Slim\Http\Response()); $response = $resController->create($fullRequest, new \Slim\Http\Response());
$this->assertSame(400, $response->getStatusCode()); $this->assertSame(400, $response->getStatusCode());
$responseBody = json_decode((string)$response->getBody(), true); $responseBody = json_decode((string)$response->getBody(), true);
$this->assertSame('Body documentDate is not a valid date', $responseBody['errors']); $this->assertSame('Body documentDate cannot be a date in the future', $responseBody['errors']);
$body = [ $body = [
'doctype' => 102, 'doctype' => 102,
......
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