From 9c658699757163bf5e58f04239ffa7383e4e6d58 Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 12 Jul 2016 11:45:07 -0400 Subject: [PATCH] Fix failing test. The array of data overrides the content type of the request. --- tests/TestCase/Network/Http/ClientTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestCase/Network/Http/ClientTest.php b/tests/TestCase/Network/Http/ClientTest.php index c342824beab..0b00c105410 100644 --- a/tests/TestCase/Network/Http/ClientTest.php +++ b/tests/TestCase/Network/Http/ClientTest.php @@ -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'