Making WordPress.org


Ignore:
Timestamp:
11/21/2022 10:21:14 PM (2 years ago)
Author:
iandunn
Message:

Events: Update IP location test cases

File:
1 edited

Legend:

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

    r12256 r12257  
    12251225                'input' => array( 'ip' => '86.108.55.28' ),
    12261226                'expected' => array(
    1227                     'description' => 'karak city',
    1228                     'latitude'    => '31.164',
    1229                     'longitude'   => '35.762',
     1227                    'description' => 'amman',
     1228                    'latitude'    => '31.955',
     1229                    'longitude'   => '35.945',
    12301230                    'country'     => 'JO',
    12311231                    'internal'    => true,
     
    13131313                'expected' => array(
    13141314                    'description' => 'mumbai',
    1315                     'latitude'    => '19.014',
    1316                     'longitude'   => '72.848',
     1315                    'latitude'    => '19.076',
     1316                    'longitude'   => '72.877',
    13171317                    'country'     => 'IN',
    13181318                    'internal'    => true,
Note: See TracChangeset for help on using the changeset viewer.