[wp-trac] [WordPress Trac] #55652: Test tool and unit test improvements for 6.1

WordPress Trac noreply at wordpress.org
Thu Aug 4 17:18:50 UTC 2022


#55652: Test tool and unit test improvements for 6.1
--------------------------------------+---------------------
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.1
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"53833" 53833]:
 {{{
 #!CommitTicketReference repository="" revision="53833"
 Tests: Correct data providers for `get_term_link()` and
 `get_edit_term_link()` tests.

 * The tests use named data providers which include a flag for passing
 either a term ID or term object to the test, but the values for the flag
 were the opposite of what the array key says.
 * Some array keys were duplicated, which means the earlier test case with
 the same name did not actually run.

 Follow-up to [52180], [52255], [52258], [52305].

 See #55652.
 }}}

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


More information about the wp-trac mailing list