[wp-trac] [WordPress Trac] #51344: Unit test improvements for 5.6
WordPress Trac
noreply at wordpress.org
Fri Sep 18 14:11:27 UTC 2020
#51344: Unit test improvements for 5.6
------------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+---------------------
Comment (by SergeyBiryukov):
In [changeset:"48999" 48999]:
{{{
#!CommitTicketReference repository="" revision="48999"
Tests: Simplify `PluralFormsTest::test_exceptions()`.
Previously, the test had to use an older pattern for catching the generic
`Exception` exceptions for compatibility with PHPUnit 3.6 on PHP 5.2.
Now that WordPress supports PHPUnit 5.4 as the minimum version, the
`expectException()` method can be used directly.
Follow-up to [41725], [41730].
See #51344.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51344#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list