Changeset 42343 for trunk/tests/phpunit/tests/term/wpTerm.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpTerm.php
r40979 r42343 19 19 // Ensure that there is a term with ID 1. 20 20 if ( ! get_term( 1 ) ) { 21 $wpdb->insert( $wpdb->terms, array( 22 'term_id' => 1, 23 ) ); 21 $wpdb->insert( 22 $wpdb->terms, array( 23 'term_id' => 1, 24 ) 25 ); 24 26 25 $wpdb->insert( $wpdb->term_taxonomy, array( 26 'term_id' => 1, 27 'taxonomy' => 'wptests_tax', 28 ) ); 27 $wpdb->insert( 28 $wpdb->term_taxonomy, array( 29 'term_id' => 1, 30 'taxonomy' => 'wptests_tax', 31 ) 32 ); 29 33 30 34 clean_term_cache( 1, 'wptests_tax' );
Note: See TracChangeset
for help on using the changeset viewer.