diff options
author | joostdekeijzer <joost@dekeijzer.org> | 2014-11-17 12:11:41 +0300 |
---|---|---|
committer | joostdekeijzer <joost@dekeijzer.org> | 2014-11-23 15:29:05 +0300 |
commit | 49fa74824cbdc350d008fe2c5a7950e09638d297 (patch) | |
tree | e3e769bf788b5cfbdad93b82732ae3c5006b9b1d /tests/PHPUnit/System/ManyVisitorsOneWebsiteTest.php | |
parent | a8917239df8ef46312c5295f8a92070f87125f86 (diff) |
IPv6 support (check for PECL GeoIP module)
Diffstat (limited to 'tests/PHPUnit/System/ManyVisitorsOneWebsiteTest.php')
-rwxr-xr-x | tests/PHPUnit/System/ManyVisitorsOneWebsiteTest.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/PHPUnit/System/ManyVisitorsOneWebsiteTest.php b/tests/PHPUnit/System/ManyVisitorsOneWebsiteTest.php index 8910c8568e..50b113d820 100755 --- a/tests/PHPUnit/System/ManyVisitorsOneWebsiteTest.php +++ b/tests/PHPUnit/System/ManyVisitorsOneWebsiteTest.php @@ -102,6 +102,17 @@ class ManyVisitorsOneWebsiteTest extends SystemTestCase 'periods' => array('month'), 'otherRequestParameters' => array('ip' => '194.57.91.215') )), + + array(array('UserCountry.getLocationFromIP'), array( + 'otherRequestParameters' => array('ip' => '194.57.91.215') + )), + + array(array('UserCountry.getLocationFromIP'), array( + 'testSuffix' => '_IPv6', + 'otherRequestParameters' => array( + 'ip' => '2001:db8:85a3:0:0:8a2e:370:7334', + ) + )), ); // Randomly fails on 5.3 @@ -160,4 +171,4 @@ class ManyVisitorsOneWebsiteTest extends SystemTestCase } } -ManyVisitorsOneWebsiteTest::$fixture = new ManyVisitsWithGeoIP();
\ No newline at end of file +ManyVisitorsOneWebsiteTest::$fixture = new ManyVisitsWithGeoIP(); |