[wp-trac] [WordPress Trac] #52482: Tests: Reduce usage of assertEquals() for 5.8
WordPress Trac
noreply at wordpress.org
Wed Feb 10 13:23:57 UTC 2021
#52482: Tests: Reduce usage of assertEquals() for 5.8
-----------------------------------+---------------------
Reporter: johnbillion | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests php8 | Focuses:
-----------------------------------+---------------------
Comment (by SergeyBiryukov):
In [changeset:"50283" 50283]:
{{{
#!CommitTicketReference repository="" revision="50283"
Tests: Replace most instances of `assertEquals()` in `phpunit/includes/`
with `assertSame()`.
Follow-up to [48937], [48939], [48940], [48944].
Props johnbillion, jrf, SergeyBiryukov.
See #38266, #52482.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52482#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list