Changeset 35225 for trunk/tests/phpunit/tests/term/getEditTermLink.php
- Timestamp:
- 10/16/2015 09:04:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getEditTermLink.php
r34519 r35225 7 7 public function setUp() { 8 8 parent::setUp(); 9 wp_set_current_user( $this->factory->user->create( array( 'role' => 'administrator' ) ) );9 wp_set_current_user( self::$factory->user->create( array( 'role' => 'administrator' ) ) ); 10 10 register_taxonomy( 'wptests_tax', 'post' ); 11 11 } 12 12 13 13 public function test_get_edit_term_link_default() { 14 $term1 = $this->factory->term->create( array(14 $term1 = self::$factory->term->create( array( 15 15 'taxonomy' => 'wptests_tax', 16 16 'name' => 'foo', … … 26 26 */ 27 27 public function test_get_edit_term_link_invalid_id() { 28 $term1 = $this->factory->term->create( array(28 $term1 = self::$factory->term->create( array( 29 29 'taxonomy' => 'wptests_tax', 30 30 'name' => 'foo',
Note: See TracChangeset
for help on using the changeset viewer.