Skip to content
Permalink
Browse files

Update tests for changes done in #9523.

  • Loading branch information...
ADmad committed Sep 27, 2016
1 parent c127eac commit ca96417547e53668381f4687abf66c56ed6cb64b
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/TestCase/Network/ResponseTest.php
@@ -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'];
@@ -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'];
@@ -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'];

0 comments on commit ca96417

Please sign in to comment.
You can’t perform that action at this time.