Skip to content
Extraits de code Groupes Projets
Valider 49b62353 rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

fix some tests

parent 8679fddf
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -109,6 +109,9 @@ class UserCountryTest extends \PHPUnit_Framework_TestCase ...@@ -109,6 +109,9 @@ class UserCountryTest extends \PHPUnit_Framework_TestCase
*/ */
public function testGeoIpDownloadInvalidUrl($url) public function testGeoIpDownloadInvalidUrl($url)
{ {
// unset translations, otherwise Exception message will be translated
StaticContainer::get('Piwik\Translation\Translator')->reset();
$updater = new Piwik_UserCountry_GeoIPAutoUpdater_publictest(); $updater = new Piwik_UserCountry_GeoIPAutoUpdater_publictest();
try { try {
$updater->downloadFile('loc', $url); $updater->downloadFile('loc', $url);
......
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