Changeset 35242 for trunk/tests/phpunit/tests/term/wpDeleteTerm.php
- Timestamp:
- 10/17/2015 06:02:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpDeleteTerm.php
r35225 r35242 13 13 register_taxonomy( 'wptests_tax', 'post' ); 14 14 15 $terms = self:: $factory->term->create_many( 2, array(15 $terms = self::factory()->term->create_many( 2, array( 16 16 'taxonomy' => 'wptests_tax', 17 17 ) ); 18 18 19 $p = self:: $factory->post->create();19 $p = self::factory()->post->create(); 20 20 21 21 wp_set_object_terms( $p, array( $terms[0] ), 'wptests_tax' );
Note: See TracChangeset
for help on using the changeset viewer.