diff options
author | diosmosis <benaka@piwik.pro> | 2015-03-16 02:01:58 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-03-16 02:01:58 +0300 |
commit | abd429d3c534ad0e8dd45fc7bfccd5e1803c28cb (patch) | |
tree | 4445f6c1ee79115c12807a85311255bcf7bc9b59 /plugins/UserCountry | |
parent | ff897db0710a12b5eee5e63e86a7ac5f74582a4c (diff) |
Move VisitorGeolocatorTest to Integration/ dir since it is an integration test now. Also remove unused use statement in AttributeHistoricalDataWithLocations.php.
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r-- | plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php | 1 | ||||
-rw-r--r-- | plugins/UserCountry/tests/Integration (renamed from plugins/UserCountry/tests/Unit/VisitorGeolocatorTest.php) | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php b/plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php index 585409f011..a9e0a012a3 100644 --- a/plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php +++ b/plugins/UserCountry/Commands/AttributeHistoricalDataWithLocations.php @@ -8,7 +8,6 @@ */ namespace Piwik\Plugins\UserCountry\Commands; -use Piwik\Network\IPUtils; use Piwik\Plugin\ConsoleCommand; use Piwik\Plugins\UserCountry\VisitorGeolocator; use Piwik\Plugins\UserCountry\LocationProvider; diff --git a/plugins/UserCountry/tests/Unit/VisitorGeolocatorTest.php b/plugins/UserCountry/tests/Integration index d783924845..de5c33fc92 100644 --- a/plugins/UserCountry/tests/Unit/VisitorGeolocatorTest.php +++ b/plugins/UserCountry/tests/Integration @@ -24,7 +24,7 @@ require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/Framework/Mock/LocationProvide /** * @group UserCountry */ -class VisitorGeolocatorTest extends IntegrationTestCase // TODO: move +class VisitorGeolocatorTest extends IntegrationTestCase { const TEST_IP = '1.2.3.4'; |