mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +00:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user