Skip to content

Commit

Permalink
phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsilverstein committed Feb 13, 2025
1 parent 3687e25 commit 4563789
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/phpunit/tests/user/wpDropdownUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,12 @@ public function test_role__not_in() {
* Show display name with gravatar image.
*/
public function test_user_dropdown_with_gravatar() {
$u1 = self::factory()->user->create(array(
'user_login' => 'foo',
'display_name' => 'Foo Person',
) );
$u1 = self::factory()->user->create(
array(
'user_login' => 'foo',
'display_name' => 'Foo Person',
)
);

// Add some gravatars.
update_user_meta( $u1, 'wp_user_avatar', 'https://example.com/avatar1.jpg' );
Expand Down

0 comments on commit 4563789

Please sign in to comment.