Changeset 1148 in tests for trunk/tests/post/query.php
- Timestamp:
- 11/21/2012 03:01:28 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/tests/post/query.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/post/query.php
r1138 r1148 224 224 'operator' => 'IN' 225 225 ) 226 ) 226 ) 227 227 ) ); 228 228 … … 242 242 $post_id5 = $this->factory->post->create(); 243 243 add_post_meta( $post_id5, 'time', 1000 ); 244 244 245 245 $args = array( 246 246 'meta_key' => 'time', … … 258 258 $posts = wp_list_pluck( $query->posts, 'ID' ); 259 259 $this->assertEqualSets( array( $post_id2, $post_id3 ), $posts ); 260 260 261 261 $args = array( 262 262 'meta_key' => 'time', … … 429 429 'terms' => array( $cat_a ), 430 430 ) 431 ) 431 ) 432 432 ) ); 433 433 … … 442 442 'include_children' => false 443 443 ) 444 ) 444 ) 445 445 ) ); 446 446 … … 454 454 'terms' => array( $cat_b ), 455 455 ) 456 ) 456 ) 457 457 ) ); 458 458 … … 467 467 'include_children' => false 468 468 ) 469 ) 469 ) 470 470 ) ); 471 471 … … 479 479 'terms' => array( $cat_c ), 480 480 ) 481 ) 481 ) 482 482 ) ); 483 483 … … 492 492 'include_children' => false 493 493 ) 494 ) 494 ) 495 495 ) ); 496 496
Note: See TracChangeset
for help on using the changeset viewer.