Changeset 54721
- Timestamp:
- 10/29/2022 05:10:29 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/Autosave.php
r54720 r54721 29 29 30 30 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 31 self::$admin_id 32 self::$editor_id 31 self::$admin_id = $factory->user->create( array( 'role' => 'administrator' ) ); 32 self::$editor_id = $factory->user->create( array( 'role' => 'editor' ) ); 33 33 34 34 // Set a user so the $post has 'post_author'.
Note: See TracChangeset
for help on using the changeset viewer.