Browse Source

Fix assertion order.

mark_story 11 years ago
parent
commit
d3e6620931
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Network/Http/ClientTest.php

+ 1 - 1
tests/TestCase/Network/Http/ClientTest.php

@@ -244,7 +244,7 @@ class ClientTest extends TestCase
             'Category' => ['id' => [2, 3]]
         ];
         $result = $http->get('/search', http_build_query($data));
-        $this->assertSame($result, $response);
+        $this->assertSame($response, $result);
     }
 
     /**