diff --git a/tests/PHPUnit/Integration/JsProxyTest.php b/tests/PHPUnit/Integration/JsProxyTest.php index d95224a452263a9dc85eb9a254415571606b6603..afd87789474d66530253642e82dbcf6a38a2b47c 100644 --- a/tests/PHPUnit/Integration/JsProxyTest.php +++ b/tests/PHPUnit/Integration/JsProxyTest.php @@ -60,7 +60,7 @@ class Test_Piwik_JsProxy extends PHPUnit_Framework_TestCase $responseInfo = curl_getinfo($curlHandle); curl_close($curlHandle); - $this->assertEquals($responseInfo["http_code"], 200, 'Ok response'); + $this->assertEquals(200, $responseInfo["http_code"], 'Ok response'); $expected = "R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="; $processed = base64_encode($fullResponse); if ($expected != $processed) {