Tests: Replace a few more instances of assertEquals() with assertSame().

These were previously missed due to incorrect capitalization.

Follow-up to [48937], [48939].

See #38266.

git-svn-id: https://develop.svn.wordpress.org/trunk@48940 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-09-04 07:36:33 +00:00
parent 8be943d06e
commit 3e111d9799
5 changed files with 6 additions and 6 deletions

View File

@@ -218,7 +218,7 @@ class WP_REST_Plugins_Controller_Test extends WP_Test_REST_Controller_Testcase {
public function test_get_items_insufficient_permissions() {
wp_set_current_user( self::$subscriber_id );
$response = rest_do_request( self::BASE );
$this->assertequals( 403, $response->get_status() );
$this->assertSame( 403, $response->get_status() );
}
/**