Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/phpunit/tests/adminbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function test_admin_bar_contains_correct_links_for_users_with_no_role_on_
$primary_profile_url = get_admin_url( $primary->blog_id, 'profile.php' );

// Ensure the user's primary blog is not the same as the main site.
$this->assertNotEquals( $primary_profile_url, admin_url( 'profile.php' ) );
$this->assertNotSame( $primary_profile_url, admin_url( 'profile.php' ) );

// Profile URLs should go to the user's primary blog.
$this->assertSame( $primary_profile_url, $node_my_account->href );
Expand Down Expand Up @@ -229,7 +229,7 @@ public function test_admin_bar_contains_correct_links_for_users_with_no_role_on_

$user_profile_url = user_admin_url( 'profile.php' );

$this->assertNotEquals( $user_profile_url, admin_url( 'profile.php' ) );
$this->assertNotSame( $user_profile_url, admin_url( 'profile.php' ) );

// Profile URLs should go to the user's primary blog.
$this->assertSame( $user_profile_url, $node_my_account->href );
Expand Down
Loading