Changeset 43571 for trunk/tests/phpunit/tests/query.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query.php
r42343 r43571 96 96 register_taxonomy( 'wptests_tax', 'post' ); 97 97 $terms = self::factory()->term->create_many( 98 2, array( 98 2, 99 array( 99 100 'taxonomy' => 'wptests_tax', 100 101 ) … … 182 183 array( 183 184 'cat' => $c1, 184 ), '/' 185 ), 186 '/' 185 187 ); 186 188 … … 225 227 array( 226 228 'cat' => implode( ',', array( $c1, $c2 ) ), 227 ), '/' 229 ), 230 '/' 228 231 ); 229 232 … … 271 274 array( 272 275 'cat' => array( $c1, $c2 ), 273 ), '/' 276 ), 277 '/' 274 278 ); 275 279 … … 307 311 array( 308 312 'tag' => $t1->slug, 309 ), '/' 313 ), 314 '/' 310 315 ); 311 316 … … 350 355 array( 351 356 'tag' => implode( ',', array( $c1->slug, $c2->slug ) ), 352 ), '/' 357 ), 358 '/' 353 359 ); 354 360 … … 396 402 array( 397 403 'tag' => array( $c1->slug, $c2->slug ), 398 ), '/' 404 ), 405 '/' 399 406 ); 400 407 … … 424 431 array( 425 432 'test_tax_cat' => 'test1', 426 ), '/' 433 ), 434 '/' 427 435 ); 428 436 … … 452 460 array( 453 461 'test_tax_cat' => 'test1,test2', 454 ), '/' 462 ), 463 '/' 455 464 ); 456 465 … … 483 492 array( 484 493 'test_tax_cat' => array( 'test1', 'test2' ), 485 ), '/' 494 ), 495 '/' 486 496 ); 487 497 … … 520 530 521 531 register_post_type( 522 'guide', array( 532 'guide', 533 array( 523 534 'name' => 'Guide', 524 535 'public' => true,
Note: See TracChangeset
for help on using the changeset viewer.