Skip to content

Commit 262f599

Browse files
committed
More coding standards.
1 parent 9778efc commit 262f599

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/phpunit/tests/user.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ final public function action_set_auth_cookie(
8181
string $token
8282
): void {
8383
$_COOKIE[ SECURE_AUTH_COOKIE ] = $cookie;
84-
$_COOKIE[ AUTH_COOKIE ] = $cookie;
84+
$_COOKIE[ AUTH_COOKIE ] = $cookie;
8585
}
8686

8787
final public function action_set_logged_in_cookie( string $cookie ): void {
@@ -1169,8 +1169,8 @@ public function test_changing_own_password_retains_current_session( bool $rememb
11691169
'ID' => $user->ID,
11701170
'user_pass' => 'my_new_password',
11711171
);
1172-
$updated = wp_update_user( $userdata, $manager );
1173-
$parsed = wp_parse_auth_cookie();
1172+
$updated = wp_update_user( $userdata, $manager );
1173+
$parsed = wp_parse_auth_cookie();
11741174

11751175
// Check the prerequisites:
11761176
$this->assertNotWPError( $updated );

0 commit comments

Comments
 (0)