diff --git a/tests/phpunit/tests/ajax/Autosave.php b/tests/phpunit/tests/ajax/Autosave.php index a3c57070ef..a4f851762a 100644 --- a/tests/phpunit/tests/ajax/Autosave.php +++ b/tests/phpunit/tests/ajax/Autosave.php @@ -26,13 +26,10 @@ class Tests_Ajax_Autosave extends WP_Ajax_UnitTestCase { protected static $editor_id = 0; protected static $post; protected static $post_id; - protected static $user_ids = array(); public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { self::$admin_id = $factory->user->create( array( 'role' => 'administrator' ) ); - self::$user_ids[] = self::$admin_id; self::$editor_id = $factory->user->create( array( 'role' => 'editor' ) ); - self::$user_ids[] = self::$editor_id; // Set a user so the $post has 'post_author'. wp_set_current_user( self::$admin_id );