Changeset 49603 for trunk/tests/phpunit/tests/query/postStatus.php
- Timestamp:
- 11/15/2020 01:59:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/postStatus.php
r48939 r49603 12 12 public static $author_privatefoo_post; 13 13 14 public static function wpSetUpBeforeClass( $factory ) {14 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 15 15 self::$editor_user_id = $factory->user->create( array( 'role' => 'editor' ) ); 16 16 self::$author_user_id = $factory->user->create( array( 'role' => 'author' ) );
Note: See TracChangeset
for help on using the changeset viewer.