Changeset 35225 for trunk/tests/phpunit/tests/term/getTermBy.php
- Timestamp:
- 10/16/2015 09:04:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTermBy.php
r34997 r35225 29 29 30 30 $slug = 'ńaș'; 31 $t = $this->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 = $this->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 = $this->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.