WordPress.org

Making WordPress.org

Changeset 5490


Ignore:
Timestamp:
05/16/2017 09:08:22 PM (4 years ago)
Author:
iandunn
Message:

Events: Update IP test cases with current data

The IP geolocation database was updated, and a few locations shifted as a result.

See #2823

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/events/1.0/tests/test-index.php

    r5478 r5490  
    734734            'input' => array( 'ip' => '80.95.186.144' ),
    735735            'expected' => array(
    736                 'description' => 'belfast',
    737                 'latitude'    => '54.583',
    738                 'longitude'   => '-5.933',
     736                'description' => 'queens island',
     737                'latitude'    => '54.617',
     738                'longitude'   => '-5.900',
    739739                'country'     => 'GB',
    740740            ),
     
    744744            'input' => array( 'ip' => '189.147.186.0' ),
    745745            'expected' => array(
    746                 'description' => 'mexico city',
    747                 'latitude'    => '19.428',
    748                 'longitude'   => '-99.128',
     746                'description' => 'ciudad nezahualcoyotl',
     747                'latitude'    => '19.414',
     748                'longitude'   => '-99.033',
    749749                'country'     => 'MX',
    750750            ),
Note: See TracChangeset for help on using the changeset viewer.