From bd6f081030c1dc1b15b9d977e6a1fcf84a8af009 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 4 Aug 2022 14:46:11 +0000 Subject: [PATCH] Tests: Remove the list of global groups in Memcached implementation used in the test suite. This list was not up to date, and does not appear to be required, as `WP_UnitTestCase_Base::flush_cache()` adds the correct list of groups, which is up to date. Follow-up to [1332/tests], [40343], [40561], [53823], [53824]. See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@53826 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/includes/object-cache.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tests/phpunit/includes/object-cache.php b/tests/phpunit/includes/object-cache.php index 2e35803e84..f9d9e96d4d 100644 --- a/tests/phpunit/includes/object-cache.php +++ b/tests/phpunit/includes/object-cache.php @@ -807,16 +807,7 @@ class WP_Object_Cache { * * @var array */ - public $global_groups = array( - 'users', - 'userlogins', - 'usermeta', - 'site-options', - 'site-lookup', - 'blog-lookup', - 'blog-details', - 'rss', - ); + public $global_groups = array(); /** * List of groups not saved to Memcached.