- Timestamp:
- 05/02/2017 09:33:55 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/events/1.0/tests/test-index.php
r5418 r5462 166 166 * A location couldn't be found 167 167 */ 168 'city-invalid ' => array(168 'city-invalid-private-ip' => array( 169 169 'input' => array( 170 170 'location_name' => 'Rivendell', 171 'ip _address'=> '127.0.0.1'171 'ip' => '127.0.0.1' 172 172 ), 173 173 'expected' => false, … … 276 276 'locale' => 'ja', 277 277 'timezone' => 'Asia/Tokyo', 278 ), 279 'expected' => array( 280 'description' => 'osaka', 281 'latitude' => '34.694', 282 'longitude' => '135.502', 283 'country' => 'JP', 284 ), 285 ), 286 287 // If a location is provided, the fallback search should be attempted before an IP search 288 'fallback-with-public-ip' => array( 289 'input' => array( 290 'location_name' => 'Osakashi', 291 'locale' => 'ja', 292 'timezone' => 'Asia/Tokyo', 293 'ip' => '153.163.68.148', // Tokyo 278 294 ), 279 295 'expected' => array(
Note: See TracChangeset
for help on using the changeset viewer.