From 03b6c3fa617bc2b565cb6640a56c5f8f3e68e03f Mon Sep 17 00:00:00 2001 From: Diego Massanti Date: Fri, 26 Apr 2013 04:32:44 -0300 Subject: [PATCH] Fixed test case for CakeResponse --- lib/Cake/Test/Case/Network/CakeResponseTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Test/Case/Network/CakeResponseTest.php b/lib/Cake/Test/Case/Network/CakeResponseTest.php index f27ac1f1f1d..3debd507849 100644 --- a/lib/Cake/Test/Case/Network/CakeResponseTest.php +++ b/lib/Cake/Test/Case/Network/CakeResponseTest.php @@ -342,7 +342,7 @@ public function testCompress() { public function testHttpCodes() { $response = new CakeResponse(); $result = $response->httpCodes(); - $this->assertEquals(39, count($result)); + $this->assertEquals(40, count($result)); $result = $response->httpCodes(100); $expected = array(100 => 'Continue'); @@ -355,7 +355,7 @@ public function testHttpCodes() { $result = $response->httpCodes($codes); $this->assertTrue($result); - $this->assertEquals(41, count($response->httpCodes())); + $this->assertEquals(42, count($response->httpCodes())); $result = $response->httpCodes(1337); $expected = array(1337 => 'Undefined Unicorn'); @@ -364,7 +364,7 @@ public function testHttpCodes() { $codes = array(404 => 'Sorry Bro'); $result = $response->httpCodes($codes); $this->assertTrue($result); - $this->assertEquals(41, count($response->httpCodes())); + $this->assertEquals(42, count($response->httpCodes())); $result = $response->httpCodes(404); $expected = array(404 => 'Sorry Bro');