Changeset 49603 for trunk/tests/phpunit/tests/term/wpTerm.php
- Timestamp:
- 11/15/2020 01:59:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpTerm.php
r46586 r49603 12 12 } 13 13 14 public static function wpSetUpBeforeClass( $factory ) {14 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 15 15 global $wpdb; 16 16 … … 37 37 } 38 38 39 self::$term_id = self::factory()->term->create( array( 'taxonomy' => 'wptests_tax' ) );39 self::$term_id = $factory->term->create( array( 'taxonomy' => 'wptests_tax' ) ); 40 40 } 41 41
Note: See TracChangeset
for help on using the changeset viewer.