Make WordPress Core


Ignore:
Timestamp:
09/04/2020 07:36:33 AM (6 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-plugins-controller.php

    r48937 r48940  
    219219                wp_set_current_user( self::$subscriber_id );
    220220                $response = rest_do_request( self::BASE );
    221                 $this->assertequals( 403, $response->get_status() );
     221                $this->assertSame( 403, $response->get_status() );
    222222        }
    223223
Note: See TracChangeset for help on using the changeset viewer.