diff --git a/tests/PHPUnit/IntegrationTestCase.php b/tests/PHPUnit/IntegrationTestCase.php index b3f25de242ec84a77cde93ac28d0b3e62d889306..8647ea4c56e09453c42c802f4e7a6f72e436ded6 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()