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.
This commit is contained in:
Petr Skoda
2012-05-12 14:25:01 +02:00
parent 71d7bc34a8
commit 64b0f3ab68
4 changed files with 159 additions and 5 deletions
+3
View File
@@ -45,6 +45,9 @@
<testsuite name="core_blog">
<directory suffix="_test.php">blog/tests</directory>
</testsuite>
<testsuite name="core_iplookup">
<directory suffix="_test.php">iplookup/tests</directory>
</testsuite>
<testsuite name="core_course">
<directory suffix="_test.php">course/tests</directory>
</testsuite>