Commit 2c77a334 authored by catch's avatar catch

Issue #2080373 by mrsinguyen: Remove Unused local variable $response from...

Issue #2080373 by mrsinguyen: Remove Unused local variable $response from /core/modules/rest/lib/Drupal/rest/Tests/ReadTest.php.
parent 7d675ad0
......@@ -59,7 +59,7 @@ public function testRead() {
$this->assertEqual($data['uuid'][0]['value'], $entity->uuid(), 'Entity UUID is correct');
// Try to read the entity with an unsupported mime format.
$response = $this->httpRequest('entity/' . $entity_type . '/' . $entity->id(), 'GET', NULL, 'application/wrongformat');
$this->httpRequest('entity/' . $entity_type . '/' . $entity->id(), 'GET', NULL, 'application/wrongformat');
$this->assertResponse(406);
// Try to read an entity that does not exist.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment