[wp-trac] [WordPress Trac] #42232: AJAX test failures with PHPUnit 6.4.2
WordPress Trac
noreply at wordpress.org
Tue Oct 31 09:13:11 UTC 2017
#42232: AJAX test failures with PHPUnit 6.4.2
------------------------------+---------------------
Reporter: SergeyBiryukov | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: fixed-major | Focuses:
------------------------------+---------------------
Changes (by pento):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"42055"]:
{{{
#!CommitTicketReference repository="" revision="42055"
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.4 branch.
Props SergeyBiryukov.
Fixes #42232.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42232#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list