[wp-trac] [WordPress Trac] #51344: Unit test improvements for 5.6

WordPress Trac noreply at wordpress.org
Fri Sep 18 13:48:42 UTC 2020


#51344: Unit test improvements for 5.6
------------------------------+---------------------
 Reporter:  SergeyBiryukov    |       Owner:  (none)
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  5.6
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"48997" 48997]:
 {{{
 #!CommitTicketReference repository="" revision="48997"
 Tests: Switch Ajax tests to use the `expectException()` method directly,
 instead of the `WP_UnitTestCase_Base::setExpectedException()` wrapper.

 This brings some consistency with other tests.

 Follow-up to [48996].

 See #51344.
 }}}

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


More information about the wp-trac mailing list