Skip to content

Commit

Permalink
Fix failing test.
Browse files Browse the repository at this point in the history
The array of data overrides the content type of the request.
  • Loading branch information
markstory committed Jul 12, 2016
1 parent d0dd6de commit 9c65869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Network/Http/ClientTest.php
Expand Up @@ -163,7 +163,7 @@ public function testGetSimpleWithHeadersAndCookies()
$headers = [
'User-Agent' => 'Cake',
'Connection' => 'close',
'Content-Type' => 'application/json',
'Content-Type' => 'application/x-www-form-urlencoded',
];
$cookies = [
'split' => 'value'
Expand Down

0 comments on commit 9c65869

Please sign in to comment.