Changeset 54090 for trunk/tests/phpunit/tests/taxonomy.php
- Timestamp:
- 09/06/2022 10:09:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/taxonomy.php
r54052 r54090 682 682 ) 683 683 ); 684 $t = $this->factory->term->create_and_get(685 array( 686 'taxonomy' => 'wptests_tax', 687 ) 688 ); 689 690 $p = $this->factory->post->create();684 $t = self::factory()->term->create_and_get( 685 array( 686 'taxonomy' => 'wptests_tax', 687 ) 688 ); 689 690 $p = self::factory()->post->create(); 691 691 wp_set_object_terms( $p, $t->slug, 'wptests_tax' ); 692 692
Note: See TracChangeset
for help on using the changeset viewer.