Skip to content
Permalink
Browse files

fix tests

  • Loading branch information...
Graziel committed Jul 25, 2016
1 parent 7f54244 commit 5bb6654b8d8ed298b946fbbda37fd0c58a767742
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/TestCase/Network/ResponseTest.php
@@ -460,7 +460,7 @@ public function testHttpCodes()
{
$response = new Response();
$result = $response->httpCodes();
$this->assertEquals(42, count($result));
$this->assertEquals(43, count($result));
$result = $response->httpCodes(100);
$expected = [100 => 'Continue'];
@@ -473,7 +473,7 @@ public function testHttpCodes()
$result = $response->httpCodes($codes);
$this->assertTrue($result);
$this->assertEquals(44, count($response->httpCodes()));
$this->assertEquals(45, count($response->httpCodes()));
$result = $response->httpCodes(381);
$expected = [381 => 'Unicorn Moved'];
@@ -482,7 +482,7 @@ public function testHttpCodes()
$codes = [404 => 'Sorry Bro'];
$result = $response->httpCodes($codes);
$this->assertTrue($result);
$this->assertEquals(44, count($response->httpCodes()));
$this->assertEquals(45, count($response->httpCodes()));
$result = $response->httpCodes(404);
$expected = [404 => 'Sorry Bro'];

0 comments on commit 5bb6654

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