[wp-trac] [WordPress Trac] #42232: AJAX test failures with PHPUnit 6.4.2
WordPress Trac
noreply at wordpress.org
Tue Oct 31 06:01:06 UTC 2017
#42232: AJAX test failures with PHPUnit 6.4.2
------------------------------+-----------------------
Reporter: SergeyBiryukov | Owner: pento
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: fixed-major | Focuses:
------------------------------+-----------------------
Comment (by pento):
In [changeset:"42051"]:
{{{
#!CommitTicketReference repository="" revision="42051"
Build/Test Tools: Pass correct `$message` argument to
`WP_UnitTestCase::setExpectedException()` in
`Tests_Ajax_CompressionTest::test_logged_out()` and
`Tests_Ajax_TagSearch::test_no_results()`.
PHPUnit 6.4.1 and earlier versions ignored the `'0'` value, causing the
issue to go unnoticed.
Merge of [41870] to the 4.8 branch.
Props SergeyBiryukov.
See #42232.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42232#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list