WordPress.org

Make WordPress Core

Changeset 933 in tests


Ignore:
Timestamp:
07/20/12 20:13:25 (21 months ago)
Author:
nacin
Message:

wp_cache_delete() does not have a $force method. see #110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/cache.php

    r932 r933  
    216216        $this->assertFalse( wp_cache_get( $key ) ); 
    217217 
     218        // wp_cache_delete() does not have a $force method. 
    218219        // Delete returns (bool) true when key is not set and $force is true 
    219         $this->assertTrue( wp_cache_delete( $key, 'default', true ) ); 
    220         $this->assertFalse( wp_cache_delete( $key, 'default') ); 
     220        // $this->assertTrue( wp_cache_delete( $key, 'default', true ) ); 
     221        // $this->assertFalse( wp_cache_delete( $key, 'default') ); 
    221222    } 
    222223} 
Note: See TracChangeset for help on using the changeset viewer.