From 79dd507093ed0050da99f267b2b136958c877daf Mon Sep 17 00:00:00 2001
From: Matthieu Napoli <matthieu@mnapoli.fr>
Date: Thu, 30 Oct 2014 17:41:56 +1300
Subject: [PATCH] Improved failing test error message for better debugging

---
 tests/PHPUnit/Integration/JsProxyTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/PHPUnit/Integration/JsProxyTest.php b/tests/PHPUnit/Integration/JsProxyTest.php
index afd8778947..92a6461acc 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(200, $responseInfo["http_code"], 'Ok response');
+        $this->assertEquals(200, $responseInfo["http_code"], var_export($responseInfo, true));
         $expected = "R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
         $processed = base64_encode($fullResponse);
         if ($expected != $processed) {
-- 
GitLab