We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0be8403 commit 42605e9Copy full SHA for 42605e9
1 file changed
tests/system/HTTP/CURLRequestTest.php
@@ -753,6 +753,7 @@ public function testSetJSON()
753
$this->request->setJSON($params)->post('/post');
754
755
$this->assertEquals(json_encode($params), $this->request->getBody());
756
+ $this->assertEquals('application/json', $this->request->getHeaderLine('Content-Type'));
757
}
758
759
//--------------------------------------------------------------------
0 commit comments