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

WordPress Trac noreply at wordpress.org
Tue Nov 3 15:51:06 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:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by johnbillion):

 In [changeset:"49488" 49488]:
 {{{
 #!CommitTicketReference repository="" revision="49488"
 Tests: Remove some useless assertions from the image editor tests.

 In each of these instances the variable being tested is a directly
 instantiated object and can never be a `WP_Error`, unlike when
 `wp_get_image_editor()` is used.

 See #51344
 }}}

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


More information about the wp-trac mailing list