[wp-trac] [WordPress Trac] #53363: Test tool and unit test improvements for 5.9
    WordPress Trac 
    noreply at wordpress.org
       
    Sat Sep 25 01:28:02 UTC 2021
    
    
  
#53363: Test tool and unit test improvements for 5.9
--------------------------------------+---------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  5.9
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
 In [changeset:"51869" 51869]:
 {{{
 #!CommitTicketReference repository="" revision="51869"
 Tests: Remove unnecessary `setUp()` and `tearDown()` methods in multisite
 tests.
 These were originally added in [26252] to suppress database errors on
 `setUp()` and restore on `tearDown()` for tests that call
 `wpmu_create_blog()`, blog factory, or installation code that attempts to
 clear transients.
 As the multisite test coverage expanded, these methods ended up being
 unnecessarily copied into other test classes, where database error
 suppression is not required.
 Follow-up to [26252], [29916], [30286], [33184], [34898], [34899],
 [34901], [37234], [37477], [37894], [49212], [49616], [51859].
 See #53363.
 }}}
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53363#comment:85>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list