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

WordPress Trac noreply at wordpress.org
Sat Nov 14 17:21:13 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:"49601" 49601]:
 {{{
 #!CommitTicketReference repository="" revision="49601"
 Build/Test Tools: Improve the reliability of the test that ensures correct
 dependency order when inline scripts are used.

 This test already ensures `WP_Scripts->do_concat` is true, therefore it
 has no dependency on `SCRIPT_DEBUG` being false. This means the test can
 run in an environment where the `.min` suffix is not used.

 This change allows for the test to pass in this situation.

 See #36392, #51734, #51344
 }}}

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


More information about the wp-trac mailing list