[wp-trac] [WordPress Trac] #51802: Unit test improvements for 5.7
WordPress Trac
noreply at wordpress.org
Tue Dec 22 07:42:39 UTC 2020
#51802: Unit test improvements for 5.7
--------------------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.7
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
In [changeset:"49863" 49863]:
{{{
#!CommitTicketReference repository="" revision="49863"
Tests: Use shared post fixture in comment template tests.
This reinstates [49848], previously reverted in [49849], with the addition
of `static` keyword for the `wpSetUpBeforeClass()` method, allowing the
tests to pass on PHP 8.
Props peterwilsoncc.
See #51802.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51802#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list