diff --git a/plugins/UserCountry/tests/Unit/UserCountryTest.php b/plugins/UserCountry/tests/Unit/UserCountryTest.php index dddbce6b9fd9cb3d9a120cd4a438623125822912..c2db05db2d139d0e69aa08d16c6c020a9d6fa2a4 100644 --- a/plugins/UserCountry/tests/Unit/UserCountryTest.php +++ b/plugins/UserCountry/tests/Unit/UserCountryTest.php @@ -109,6 +109,9 @@ class UserCountryTest extends \PHPUnit_Framework_TestCase */ public function testGeoIpDownloadInvalidUrl($url) { + // unset translations, otherwise Exception message will be translated + StaticContainer::get('Piwik\Translation\Translator')->reset(); + $updater = new Piwik_UserCountry_GeoIPAutoUpdater_publictest(); try { $updater->downloadFile('loc', $url);