mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
4d28f7f675
commit
541ebdfaa5
@ -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 );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user