- Timestamp:
- 06/06/2017 05:39:24 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
r5501 r5543 154 154 ), 155 155 156 /*157 * This is matching a city inside the country before it the country searches run, but that's ok since it's158 * good enough for our use cases159 */160 156 'country-exonym-2-words' => array( 161 157 'input' => array( … … 165 161 ), 166 162 'expected' => array( 167 'description' => 'pale', 168 'latitude' => '43.817', 169 'longitude' => '18.569', 170 'country' => 'BA' 163 'country' => 'BA', 164 'description' => 'bosnia and herzegovina', 171 165 ), 172 166 ), … … 288 282 ), 289 283 'expected' => array( 290 'description' => 's ão paulo',284 'description' => 'sao paulo', 291 285 'latitude' => '-23.548', 292 286 'longitude' => '-46.636', … … 303 297 ), 304 298 'expected' => array( 305 'description' => 'osaka ',299 'description' => 'osakashi', 306 300 'latitude' => '34.694', 307 301 'longitude' => '135.502', … … 319 313 ), 320 314 'expected' => array( 321 'description' => 'osaka ',315 'description' => 'osakashi', 322 316 'latitude' => '34.694', 323 317 'longitude' => '135.502', … … 366 360 ), 367 361 'expected' => array( 368 'description' => "do ña ana",362 'description' => "dona ana", 369 363 'latitude' => '32.390', 370 364 'longitude' => '-106.814', … … 394 388 ), 395 389 'expected' => array( 396 'description' => "st .louis",390 'description' => "st louis", 397 391 'latitude' => '38.627', 398 392 'longitude' => '-90.198', … … 429 423 ), 430 424 'expected' => array( 431 'description' => ' addis ababa',425 'description' => 'አዲስ አበባ', 432 426 'latitude' => '9.025', 433 427 'longitude' => '38.747', … … 443 437 ), 444 438 'expected' => array( 445 'description' => ' shirahamachō-usazakiminami',439 'description' => '白浜町宇佐崎南', 446 440 'latitude' => '34.783', 447 441 'longitude' => '134.717', … … 457 451 ), 458 452 'expected' => array( 459 'description' => ' tehran',453 'description' => 'تهران', 460 454 'latitude' => '35.694', 461 455 'longitude' => '51.422', … … 471 465 ), 472 466 'expected' => array( 473 'description' => ' karachi',467 'description' => 'كراچى', 474 468 'latitude' => '24.906', 475 469 'longitude' => '67.082', … … 485 479 ), 486 480 'expected' => array( 487 'description' => ' kyoto',481 'description' => '京都', 488 482 'latitude' => '35.021', 489 483 'longitude' => '135.754', … … 499 493 ), 500 494 'expected' => array( 501 'description' => ' tokyo',495 'description' => '東京', 502 496 'latitude' => '35.690', 503 497 'longitude' => '139.692', … … 514 508 ), 515 509 'expected' => array( 516 'description' => ' osaka',510 'description' => '大阪市', 517 511 'latitude' => '34.694', 518 512 'longitude' => '135.502', … … 528 522 ), 529 523 'expected' => array( 530 'description' => ' vienna',524 'description' => 'wien', 531 525 'latitude' => '48.208', 532 526 'longitude' => '16.372', … … 542 536 ), 543 537 'expected' => array( 544 'description' => ' moscow',538 'description' => 'Москва', 545 539 'latitude' => '55.752', 546 540 'longitude' => '37.616', … … 556 550 ), 557 551 'expected' => array( 558 'description' => ' mexico city',552 'description' => 'ciudad de méxico', 559 553 'latitude' => '19.428', 560 554 'longitude' => '-99.128',
Note: See TracChangeset
for help on using the changeset viewer.