[wp-trac] [WordPress Trac] #57660: Tests_Formatting_MakeClickable should use data providors

WordPress Trac noreply at wordpress.org
Thu Aug 24 14:33:43 UTC 2023


#57660: Tests_Formatting_MakeClickable should use data providors
--------------------------------------+-----------------------------
 Reporter:  jorbin                    |       Owner:  hellofromTonya
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.4
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by jorbin):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56444" 56444]:
 {{{
 #!CommitTicketReference repository="" revision="56444"
 Build/Tests: Tests_Formatting_MakeClickable should use data providors

 Removes the foreach loops from the tests by moving the in-test data sets
 into data providers and combines the URL data sets into one data provider
 to test with one test method. By using a data providor, all the tests run
 rather than stopping at the first failure in this group.

 Fixes #57660.
 Props hellofromTonya.
 }}}

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


More information about the wp-trac mailing list