-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.11, 3.2.8, 3.3.5, 3.4.2, 3.5
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-61770-master -
- Tested by CiBoT.
IPV6 lookup has started failing:
1) core_iplookup_geoip_testcase::test_ipv6
|
Coordinates are out of accepted tolerance
|
Failed asserting that -118.4362 matches expected -118.2987.
|
|
/var/www/html/iplookup/tests/geoip_test.php:104
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
|
I'm tempted to suggest that we should switch our unit tests away from being an exact match to just a type:
- City should be a string,
- Country should be a string
- Both parts of the title should be a string
- Latitude should be a float
- Longitude should be a float