Permalink
Browse files

Fixed test case for CakeResponse

  • Loading branch information...
1 parent a3d4055 commit 03b6c3fa617bc2b565cb6640a56c5f8f3e68e03f @DiegoMax DiegoMax committed Apr 26, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 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');

0 comments on commit 03b6c3f

Please sign in to comment.