Making WordPress.org

Changeset 5035


Ignore:
Timestamp:
03/01/2017 11:21:37 PM (5 years ago)
Author:
iandunn
Message:

Events API: Replace copy/pasted South America IP case with actual data

File:
1 edited

Legend:

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

    r5034 r5035  
    237237
    238238        'ip-south-america' => array(
    239             'input' => array( 'ip' => '189.147.186.0' ),
    240             'expected' => array(
    241                 'description' => 'mexico city',
    242                 'latitude'    => '19.42847',
    243                 'longitude'   => '-99.12766',
    244                 'country'     => 'MX',
     239            'input' => array( 'ip' => '181.66.32.136' ),
     240            'expected' => array(
     241                'description' => 'lima',
     242                'latitude'    => '-12.043333',
     243                'longitude'   => '-77.028333',
     244                'country'     => 'PE',
    245245            ),
    246246        ),
Note: See TracChangeset for help on using the changeset viewer.