WordPress.org

Making WordPress.org

Changeset 6180


Ignore:
Timestamp:
11/27/17 20:47:44 (3 weeks ago)
Author:
iandunn
Message:

Events: Switch failing test case to use more active city.

File:
1 edited

Legend:

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

    r6078 r6180  
    886886function get_events_test_cases() { 
    887887    $cases = array( 
    888         '2-near-mumbai' => array( 
     888        // This assumes there will always be at least 2 upcoming events, so it needs to be a very active community. 
     889        '2-near-seattle' => array( 
    889890            'input' => array( 
    890891                'number' => '2', 
    891892                'nearby' => array( 
    892                     'latitude'  => '19.024704', 
    893                     'longitude' => '72.853966', 
     893                    'latitude'  => '47.609023', 
     894                    'longitude' => '-122.335903', 
    894895                ), 
    895896            ), 
    896897            'expected' => array( 
    897898                'count'   => 2, 
    898                 'country' => 'IN', 
     899                'country' => 'US', 
    899900            ), 
    900901        ), 
Note: See TracChangeset for help on using the changeset viewer.