Changeset 35242 for trunk/tests/phpunit/tests/term/getTermBy.php
- Timestamp:
- 10/17/2015 06:02:16 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/term/getTermBy.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTermBy.php
r35225 r35242 29 29 30 30 $slug = 'ńaș'; 31 $t = self:: $factory->term->create( array(31 $t = self::factory()->term->create( array( 32 32 'slug' => $slug, 33 33 'taxonomy' => 'wptests_tax', … … 45 45 46 46 register_taxonomy( 'wptests_tax', 'post' ); 47 $t = self:: $factory->term->create( array( 'taxonomy' => 'wptests_tax' ) );47 $t = self::factory()->term->create( array( 'taxonomy' => 'wptests_tax' ) ); 48 48 $term = get_term( $t, 'wptests_tax' ); 49 49 … … 68 68 69 69 register_taxonomy( 'wptests_tax', 'post' ); 70 $t = self:: $factory->term->create( array(70 $t = self::factory()->term->create( array( 71 71 'taxonomy' => 'wptests_tax', 72 72 'slug' => 'foo',
Note: See TracChangeset
for help on using the changeset viewer.