Changeset 49603 for trunk/tests/phpunit/tests/meta/registerMeta.php
- Timestamp:
- 11/15/2020 01:59:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/meta/registerMeta.php
r48937 r49603 10 10 protected static $user_id; 11 11 12 public static function wpSetUpBeforeClass( $factory ) {12 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 13 13 self::$post_id = $factory->post->create( array( 'post_type' => 'page' ) ); 14 14 self::$term_id = $factory->term->create( array( 'taxonomy' => 'category' ) );
Note: See TracChangeset
for help on using the changeset viewer.