[wp-trac] [WordPress Trac] #40533: Avoid test skipping for situations that are actually errors or failures
WordPress Trac
noreply at wordpress.org
Sat Apr 22 20:12:31 UTC 2017
#40533: Avoid test skipping for situations that are actually errors or failures
------------------------------+------------------
Reporter: johnbillion | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+------------------
Comment (by johnbillion):
In [changeset:"40525"]:
{{{
#!CommitTicketReference repository="" revision="40525"
Build/Test Tools: Replace test skipping with actual assertions when
dealing with the `DISALLOW_UNFILTERED_HTML`, `DISALLOW_FILE_MODS`, and
`DISALLOW_FILE_EDIT` constants.
If any of these constants are set during testing, they should cause the
tests to fail, not to be skipped, otherwise we have a situation where
failure conditions are never seen.
See #40533
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40533#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list