Make WordPress Core


Ignore:
Timestamp:
09/04/2020 07:36:33 AM (4 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/general/wpError.php

    r48939 r48940  
    203203        $this->wp_error->add( 'code', 'message2' );
    204204
    205         $this->assertequalSets( array( 'message', 'message2' ), $this->wp_error->get_error_messages( 'code' ) );
     205        $this->assertSameSets( array( 'message', 'message2' ), $this->wp_error->get_error_messages( 'code' ) );
    206206    }
    207207
Note: See TracChangeset for help on using the changeset viewer.