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
This commit is contained in:
Sergey Biryukov
2022-02-11 17:39:48 +00:00
parent 13485e11c5
commit 65f52bf921

View File

@@ -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',