Tests: Make the comment cache group persistent in WP_UnitTestCase_Base::flush_cache().

This brings the list of persistent groups when running the test suite in line with core.

Follow-up to [1332/tests], [37613], [52976].

See #55652.

git-svn-id: https://develop.svn.wordpress.org/trunk@53828 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2022-08-04 15:16:32 +00:00
parent c47f438376
commit 0a35283aa3

View File

@@ -400,7 +400,7 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Adapter_TestCase {
)
);
wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
wp_cache_add_non_persistent_groups( array( 'counts', 'plugins' ) );
}
/**