MDL-32868 fix iplookup inconsistencies and add missing unit tests
authorPetr Skoda <commits@skodak.org>
Sat, 12 May 2012 12:25:01 +0000 (14:25 +0200)
committerPetr Skoda <commits@skodak.org>
Sat, 12 May 2012 12:25:01 +0000 (14:25 +0200)
commit64b0f3ab68c9fc85c5cc5ae72149d0010248019e
tree4e69c6bf6e777b2ba7707230b9d5ae626c53d16b
parent71d7bc34a899136579966cf56402f7bcca5d0e62
MDL-32868 fix iplookup inconsistencies and add missing unit tests

Please note you need to define PHPUNIT_LONGTEST in config.php or phpunit.xml to get the tests to execute because it takes long time to fetch the geoip data and we do not want to DDOS geoPlugin server.
iplookup/lib.php
iplookup/tests/geoip_test.php [new file with mode: 0644]
iplookup/tests/geoplugin_test.php [new file with mode: 0644]
phpunit.xml.dist