Changeset 38667 for trunk/tests/phpunit/tests/term/wpSetObjectTerms.php
- Timestamp:
- 09/28/2016 03:54:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpSetObjectTerms.php
r38398 r38667 260 260 261 261 // make sure they're correct 262 $terms = wp_get_object_terms($post_id, $this->taxonomy, array('fields' => 'ids', 'orderby' => 't .term_id'));262 $terms = wp_get_object_terms($post_id, $this->taxonomy, array('fields' => 'ids', 'orderby' => 'term_id')); 263 263 $this->assertEquals( $terms_1, $terms ); 264 264 … … 268 268 269 269 // make sure they're correct 270 $terms = wp_get_object_terms($post_id, $this->taxonomy, array('fields' => 'ids', 'orderby' => 't .term_id'));270 $terms = wp_get_object_terms($post_id, $this->taxonomy, array('fields' => 'ids', 'orderby' => 'term_id')); 271 271 $this->assertEquals( $terms_2, $terms ); 272 272 … … 289 289 290 290 // make sure they're correct 291 $terms = wp_get_object_terms($post_id, $this->taxonomy, array('fields' => 'names', 'orderby' => 't .term_id'));291 $terms = wp_get_object_terms($post_id, $this->taxonomy, array('fields' => 'names', 'orderby' => 'term_id')); 292 292 $this->assertEquals( $terms_1, $terms ); 293 293 … … 297 297 298 298 // make sure they're correct 299 $terms = wp_get_object_terms($post_id, $this->taxonomy, array('fields' => 'names', 'orderby' => 't .term_id'));299 $terms = wp_get_object_terms($post_id, $this->taxonomy, array('fields' => 'names', 'orderby' => 'term_id')); 300 300 $this->assertEquals( $terms_2, $terms ); 301 301
Note: See TracChangeset
for help on using the changeset viewer.