Skip to content

Commit

Permalink
Update tests for changes done in #9523.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 27, 2016
1 parent c127eac commit ca96417
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TestCase/Network/ResponseTest.php
Expand Up @@ -459,7 +459,7 @@ public function testHttpCodes()
{
$response = new Response();
$result = $response->httpCodes();
$this->assertEquals(43, count($result));
$this->assertEquals(64, count($result));

$result = $response->httpCodes(100);
$expected = [100 => 'Continue'];
Expand All @@ -472,7 +472,7 @@ public function testHttpCodes()

$result = $response->httpCodes($codes);
$this->assertTrue($result);
$this->assertEquals(45, count($response->httpCodes()));
$this->assertEquals(66, count($response->httpCodes()));

$result = $response->httpCodes(381);
$expected = [381 => 'Unicorn Moved'];
Expand All @@ -481,7 +481,7 @@ public function testHttpCodes()
$codes = [404 => 'Sorry Bro'];
$result = $response->httpCodes($codes);
$this->assertTrue($result);
$this->assertEquals(45, count($response->httpCodes()));
$this->assertEquals(66, count($response->httpCodes()));

$result = $response->httpCodes(404);
$expected = [404 => 'Sorry Bro'];
Expand Down

0 comments on commit ca96417

Please sign in to comment.