[wp-trac] [WordPress Trac] #51216: Speed up tests for wp_allow_comment
WordPress Trac
noreply at wordpress.org
Wed Sep 2 11:53:08 UTC 2020
#51216: Speed up tests for wp_allow_comment
------------------------------+-----------------------------
Reporter: Frank Klein | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
The fixtures in `Tests_Comment_WpAllowComment` are stored in static
properties. But they are (re)created in the `setUp()` method before every
test run.
We should use shared fixtures to speed up this test case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51216>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list