Changeset 45588 for trunk/tests/phpunit/tests/ajax/Autosave.php
- Timestamp:
- 07/02/2019 04:43:01 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/Autosave.php
r42343 r45588 30 30 31 31 public static function wpSetUpBeforeClass( $factory ) { 32 self::$user_ids[] = self::$admin_id = $factory->user->create( array( 'role' => 'administrator' ) ); 33 self::$user_ids[] = self::$editor_id = $factory->user->create( array( 'role' => 'editor' ) ); 32 self::$admin_id = $factory->user->create( array( 'role' => 'administrator' ) ); 33 self::$user_ids[] = self::$admin_id; 34 self::$editor_id = $factory->user->create( array( 'role' => 'editor' ) ); 35 self::$user_ids[] = self::$editor_id; 34 36 35 37 self::$post_id = $factory->post->create( array( 'post_status' => 'draft' ) );
Note: See TracChangeset
for help on using the changeset viewer.