From 541ebdfaa5c1baaba4b5e9778ca665846bade137 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 29 Oct 2022 17:10:29 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/ajax/Autosave.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/ajax/Autosave.php b/tests/phpunit/tests/ajax/Autosave.php index a4f851762a..c0f9371f1a 100644 --- a/tests/phpunit/tests/ajax/Autosave.php +++ b/tests/phpunit/tests/ajax/Autosave.php @@ -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 );