[wp-trac] [WordPress Trac] #42232: AJAX test failures with PHPUnit 6.4.2

WordPress Trac noreply at wordpress.org
Mon Oct 16 04:05:31 UTC 2017


#42232: AJAX test failures with PHPUnit 6.4.2
------------------------------+-----------------------------
 Reporter:  SergeyBiryukov    |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41870"]:
 {{{
 #!CommitTicketReference repository="" revision="41870"
 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.

 Fixes #42232.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42232#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list