Browse Source

Fix failing test.

The array of data overrides the content type of the request.
mark_story 9 years ago
parent
commit
9c65869975
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Network/Http/ClientTest.php

+ 1 - 1
tests/TestCase/Network/Http/ClientTest.php

@@ -163,7 +163,7 @@ class ClientTest extends TestCase
         $headers = [
             'User-Agent' => 'Cake',
             'Connection' => 'close',
-            'Content-Type' => 'application/json',
+            'Content-Type' => 'application/x-www-form-urlencoded',
         ];
         $cookies = [
             'split' => 'value'