diff --git a/tests/PHPUnit/IntegrationTestCase.php b/tests/PHPUnit/IntegrationTestCase.php index 9018c112269d4eb6ad43aba2fb23eec9b8f219a6..1b70007d2a2b580fd32d881ba0cbe9ddae12fd3e 100755 --- a/tests/PHPUnit/IntegrationTestCase.php +++ b/tests/PHPUnit/IntegrationTestCase.php @@ -573,8 +573,8 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase public static function getTokenAuth() { return Piwik_UsersManager_API::getInstance()->getTokenAuth( - Zend_Registry::get('config')->superuser['login'], - Zend_Registry::get('config')->superuser['password'] + Piwik_Config::getInstance()->superuser['login'], + Piwik_Config::getInstance()->superuser['password'] ); }