[wp-trac] [WordPress Trac] #40283: Add missing global cache groups in tests

WordPress Trac noreply at wordpress.org
Tue Mar 28 01:42:35 UTC 2017


#40283: Add missing global cache groups in tests
--------------------------+-------------------------
 Reporter:  jeremyfelt    |       Owner:  jeremyfelt
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.8
Component:  Cache API     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  multisite
--------------------------+-------------------------
Changes (by jeremyfelt):

 * owner:   => jeremyfelt
 * status:  new => assigned


Comment:

 [attachment:40283.diff] adds useremail, userslugs, networks, sites, site-
 details groups to both `WP_UnitTestCase::flush_cache()` and
 `Tests_Cache::init_cache()`. It's less necessary in the cache tests, but
 doesn't hurt to be consistent.

 * useremail, and userslugs were added in [31347]
 * networks in [36258]
 * sites in [36393]
 * site-details in [37918]

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


More information about the wp-trac mailing list