MDL-67593 core_iplookup: use MaxMind test database in unit tests
authorJake Dallimore <jake@moodle.com>
Tue, 31 Dec 2019 06:38:50 +0000 (14:38 +0800)
committerJake Dallimore <jake@moodle.com>
Tue, 31 Dec 2019 07:01:51 +0000 (15:01 +0800)
commitb145fe216c375b30d3b58879ec390e24e7cf2291
treea12f138bace8e60ebf0e9faf78fde7100786037d
parent7850f76a93bb673a30bdfffe23a3077c83d9749c
MDL-67593 core_iplookup: use MaxMind test database in unit tests

Instead of downloading a live database (now not available publicly)
use a local test database.
iplookup/tests/fixtures/GeoIP2-City-Test.mmdb [new file with mode: 0644]
iplookup/tests/fixtures/README.txt [new file with mode: 0644]
iplookup/tests/geoip_test.php
lib/maxmind/readme_moodle.txt