Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <fabian.becker@uni-tuebingen.de>2013-09-09 00:40:02 +0400
committerFabian Becker <fabian.becker@uni-tuebingen.de>2013-09-09 00:40:02 +0400
commit581b2c3fa7329f22cdde6cfba1bd98cb61dbb441 (patch)
tree08741c709265cc3b33bf30ec7715b791b909a30f
parent1ca9d90e7f835affa7f9e133862fdbcbf54ba524 (diff)
Fix fix for failing failed test -.-
-rw-r--r--tests/PHPUnit/BaseFixture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/BaseFixture.php b/tests/PHPUnit/BaseFixture.php
index 1a63b6e8a0..4a565ae9f7 100644
--- a/tests/PHPUnit/BaseFixture.php
+++ b/tests/PHPUnit/BaseFixture.php
@@ -178,7 +178,7 @@ abstract class Test_Piwik_BaseFixture extends PHPUnit_Framework_Assert
*/
public static function checkBulkTrackingResponse($response) {
self::assertJson($response);
- $data = json_decode($response);
+ $data = json_decode($response, true);
self::assertArrayHasKey('status', $data);
self::assertEquals('success', $data['status']);
}