Skip to content
Extraits de code Groupes Projets
Valider 00ee4f4c rédigé par mattpiwik's avatar mattpiwik
Parcourir les fichiers

Tidy but still tests should pass

git-svn-id: http://dev.piwik.org/svn/trunk@7520 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent a859a6a2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -516,11 +516,7 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase ...@@ -516,11 +516,7 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase
*/ */
public static function getTokenAuth() public static function getTokenAuth()
{ {
// get token auth return md5(Zend_Registry::get('config')->superuser->login . Zend_Registry::get('config')->superuser->password);
$pwd = Zend_Registry::get('config')->superuser->password;
return Piwik_UsersManager_API::getInstance()->getTokenAuth(
Zend_Registry::get('config')->superuser->login, $pwd);
} }
/** /**
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter