From 65f52bf92174806fb45f36f5239392755f43d1af Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 11 Feb 2022 17:39:48 +0000 Subject: [PATCH] Tests: Remove some extra `wp_cache_set()` calls from `wp_cache_set_multiple()` test. These appear to be a copy/paste from the `wp_cache_get_multiple()` test and are not required here. Follow-up to [47938], [52700]. See #54574. git-svn-id: https://develop.svn.wordpress.org/trunk@52702 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/cache.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/phpunit/tests/cache.php b/tests/phpunit/tests/cache.php index 957c87df79..f20ff6fc92 100644 --- a/tests/phpunit/tests/cache.php +++ b/tests/phpunit/tests/cache.php @@ -376,10 +376,6 @@ class Tests_Cache extends WP_UnitTestCase { * @ticket 54574 */ public function test_wp_cache_set_multiple() { - wp_cache_set( 'foo1', 'bar', 'group1' ); - wp_cache_set( 'foo2', 'bar', 'group1' ); - wp_cache_set( 'foo3', 'bar', 'group2' ); - $found = wp_cache_set_multiple( array( 'foo1' => 'bar',