From 95dc8d9834bf72d1838e0e6143fb67b51fe0e295 Mon Sep 17 00:00:00 2001 From: diosmosis <benaka.moorthi@gmail.com> Date: Mon, 8 Apr 2013 03:38:11 +0000 Subject: [PATCH] Refs #3781, fixing build. --- tests/PHPUnit/IntegrationTestCase.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/PHPUnit/IntegrationTestCase.php b/tests/PHPUnit/IntegrationTestCase.php index b3f25de242..8647ea4c56 100755 --- a/tests/PHPUnit/IntegrationTestCase.php +++ b/tests/PHPUnit/IntegrationTestCase.php @@ -146,6 +146,9 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase // Usually these modules either return random changing data, or are already tested in specific unit tests. self::setApiNotToCall(self::$defaultApiNotToCall); self::setApiToCall(array()); + + // set config superuser login to test login + Piwik_Config::getInstance()->superuser['login'] = 'superUserLogin'; } public static function tearDownAfterClass() -- GitLab