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

FEAT #12073 TIME 0:10 Fix history tu

parent ecabad5e
No related branches found
No related tags found
No related merge requests found
......@@ -62,11 +62,11 @@ class HistoryControllerTest extends TestCase
$fullRequest = $request->withQueryParams($aArgs);
$response = $batchHistory->get($fullRequest, new \Slim\Http\Response());
$responseBody = json_decode((string)$response->getBody());
$responseBody = json_decode((string)$response->getBody(), true);
$this->assertInternalType('array', $responseBody->batchHistories);
$this->assertInternalType('bool', $responseBody->limitExceeded);
$this->assertNotNull($responseBody->batchHistories);
$this->assertInternalType('array', $responseBody['history']);
$this->assertInternalType('integer', $responseBody['count']);
$this->assertNotNull($responseBody['history']);
}
public function testRealDelete()
......
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