Making WordPress.org


Ignore:
Timestamp:
05/04/2017 05:11:49 PM (9 years ago)
Author:
iandunn
Message:

Events: Ignore en_US locales to avoid false-positives

Props dd32

File:
1 edited

Legend:

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

    r5462 r5478  
    256256        ),
    257257
     258        // Many users never change the default `en_US` locale in Core
     259        'city-oceania-with-en_US' => array(
     260            'input' => array(
     261                'location_name' => 'Sydney',
     262                'locale'        => 'en_US',
     263                'timezone'      => 'Australia/Sydney',
     264            ),
     265            'expected' => array(
     266                'description' => 'sydney',
     267                'latitude'    => '-33.868',
     268                'longitude'   => '151.207',
     269                'country'     => 'AU',
     270            ),
     271        ),
     272
    258273        'city-south-america' => array(
    259274            'input' => array(
Note: See TracChangeset for help on using the changeset viewer.