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