Skip to content

Commit

Permalink
Merge branch 'MDL-70584-master' of git://github.com/marinaglancy/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jan 7, 2021
2 parents 50fdadf + 5ac6693 commit c2a21a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iplookup/tests/geoplugin_test.php
Expand Up @@ -51,8 +51,8 @@ public function test_ipv4() {

$this->assertEquals('array', gettype($result));
$this->assertEquals('San Francisco', $result['city']);
$this->assertEqualsWithDelta(-122.3933, $result['longitude'], 0.01, 'Coordinates are out of accepted tolerance');
$this->assertEqualsWithDelta(37.7697, $result['latitude'], 0.01, 'Coordinates are out of accepted tolerance');
$this->assertEqualsWithDelta(-122.3933, $result['longitude'], 0.1, 'Coordinates are out of accepted tolerance');
$this->assertEqualsWithDelta(37.7697, $result['latitude'], 0.1, 'Coordinates are out of accepted tolerance');
$this->assertNull($result['error']);
$this->assertEquals('array', gettype($result['title']));
$this->assertEquals('San Francisco', $result['title'][0]);
Expand Down

0 comments on commit c2a21a2

Please sign in to comment.