Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed Apr 29, 2020
1 parent c3f4065 commit 2783a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/API/ResponseTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ public function testResponseFormat()

$this->assertStringStartsWith('application/json', $this->response->getHeaderLine('Content-Type'));

$controller->responseFormat('xml');
$controller->setResponseFormat('xml');
$controller->respond($data, 201);

$this->assertStringStartsWith('application/xml', $this->response->getHeaderLine('Content-Type'));
Expand Down

0 comments on commit 2783a75

Please sign in to comment.