Making WordPress.org

Changeset 5064


Ignore:
Timestamp:
03/03/2017 09:20:03 PM (9 years ago)
Author:
iandunn
Message:

Events API: Test that unknown cities return false

File:
1 edited

Legend:

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

    r5063 r5064  
    9999
    100100                /*
     101                 * A location couldn't be found
     102                 */
     103                'city-invalid' => array(
     104                        'input' => array(
     105                                'location_name' => 'Rivendell',
     106                                'ip_address'    => '127.0.0.1'
     107                        ),
     108                        'expected' => false,
     109                ),
     110
     111
     112                /*
    101113                 * The city, locale, and timezone are given
    102114                 */
Note: See TracChangeset for help on using the changeset viewer.