Changeset 38382 for trunk/tests/phpunit/tests/term/wpInsertTerm.php
- Timestamp:
- 08/26/2016 08:21:30 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/term/wpInsertTerm.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpInsertTerm.php
r37641 r38382 11 11 // insert one term into every post taxonomy 12 12 // otherwise term_ids and term_taxonomy_ids might be identical, which could mask bugs 13 $term = rand_str();13 $term = 'seed_term'; 14 14 foreach(get_object_taxonomies('post') as $tax) 15 15 wp_insert_term( $term, $tax ); … … 21 21 22 22 // a new unused term 23 $term = rand_str();23 $term = 'term'; 24 24 $this->assertNull( term_exists($term) ); 25 25
Note: See TracChangeset
for help on using the changeset viewer.