Skip to content

Commit 2783a75

Browse files
committed
Fix typo
1 parent c3f4065 commit 2783a75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/API/ResponseTraitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ public function testResponseFormat()
512512

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

515-
$controller->responseFormat('xml');
515+
$controller->setResponseFormat('xml');
516516
$controller->respond($data, 201);
517517

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

0 commit comments

Comments
 (0)