We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3f4065 commit 2783a75Copy full SHA for 2783a75
1 file changed
tests/system/API/ResponseTraitTest.php
@@ -512,7 +512,7 @@ public function testResponseFormat()
512
513
$this->assertStringStartsWith('application/json', $this->response->getHeaderLine('Content-Type'));
514
515
- $controller->responseFormat('xml');
+ $controller->setResponseFormat('xml');
516
$controller->respond($data, 201);
517
518
$this->assertStringStartsWith('application/xml', $this->response->getHeaderLine('Content-Type'));
0 commit comments