mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-25 05:34:32 +00:00
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:
@@ -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() );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user