Coding Standards: Correct alignment in Tests_Ajax_Autosave::wpSetUpBeforeClass().

This fixes an `Equals sign not aligned with surrounding assignments` WPCS warning.

Follow-up to [54720].

See #56793.

git-svn-id: https://develop.svn.wordpress.org/trunk@54721 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-10-29 17:10:29 +00:00
parent 4d28f7f675
commit 541ebdfaa5

View File

@ -28,8 +28,8 @@ class Tests_Ajax_Autosave extends WP_Ajax_UnitTestCase {
protected static $post_id;
public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
self::$admin_id = $factory->user->create( array( 'role' => 'administrator' ) );
self::$editor_id = $factory->user->create( array( 'role' => 'editor' ) );
self::$admin_id = $factory->user->create( array( 'role' => 'administrator' ) );
self::$editor_id = $factory->user->create( array( 'role' => 'editor' ) );
// Set a user so the $post has 'post_author'.
wp_set_current_user( self::$admin_id );