Opened 10 years ago
Closed 10 years ago
#40283 closed defect (bug) (fixed)
Add missing global cache groups in tests
| Reported by: | jeremyfelt | Owned by: | jeremyfelt |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Cache API | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | multisite |
Description
Several global cache groups are missing from WP_UnitTestCase::flush_cache(), which can cause some fun cross-test confusion when running multisite tests with object cache enabled.
Previously, [1332/tests]
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
40283.diff adds useremail, userslugs, networks, sites, site-details groups to both
WP_UnitTestCase::flush_cache()andTests_Cache::init_cache(). It's less necessary in the cache tests, but doesn't hurt to be consistent.