[wp-trac] [WordPress Trac] #54725: Test tool and unit test improvements for 6.0
WordPress Trac
noreply at wordpress.org
Sat Feb 19 12:41:02 UTC 2022
#54725: Test tool and unit test improvements for 6.0
--------------------------------------+---------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.0
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
In [changeset:"52775" 52775]:
{{{
#!CommitTicketReference repository="" revision="52775"
Tests: Correct the order of expected and actual values in
`wp_validate_boolean()` tests.
This corrects the order of the parameters when used in assertions so
if/when they fail the failure message is correct.
Additionally, this commit moves the test function before the data
provider, for consistency with other tests.
Follow-up to [46159], [46224].
See #54725.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54725#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list