PHRAS-946_delete-record-api

- fix tests
This commit is contained in:
Jean-Yves Gaulier
2016-09-29 16:29:07 +02:00
parent c6186abe56
commit 7e7668cd1b

View File

@@ -550,7 +550,7 @@ class ApiJsonTest extends ApiTestCase
$client = $this->getClient();
$route = '/api/v1/records/' . $record_1->getDataboxId() . '/' . $record_1->getRecordId() . '/';
$this->evaluateMethodNotAllowedRoute($route, ['POST', 'PUT', 'DELETE']);
$this->evaluateMethodNotAllowedRoute($route, ['POST', 'PUT']);
$client->request('GET', $route, $this->getParameters(), [], ['HTTP_Accept' => $this->getAcceptMimeType()]);
$content = $this->unserialize($client->getResponse()->getContent());