Make WordPress Core

Changeset 52702


Ignore:
Timestamp:
02/11/2022 05:39:48 PM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/cache.php

    r52700 r52702  
    377377     */
    378378    public function test_wp_cache_set_multiple() {
    379         wp_cache_set( 'foo1', 'bar', 'group1' );
    380         wp_cache_set( 'foo2', 'bar', 'group1' );
    381         wp_cache_set( 'foo3', 'bar', 'group2' );
    382 
    383379        $found = wp_cache_set_multiple(
    384380            array(
Note: See TracChangeset for help on using the changeset viewer.