Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/03/2014 01:48:51 AM (12 years ago)
Author:
boonebgorges
Message:

Improve cache test for BP_XProfile_ProfileData::exists()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/testcases/xprofile/class-bp-xprofile-profiledata.php

    r8012 r8023  
    5555
    5656                // Fake the cache
    57                 wp_cache_set( $f, 'foo', 'bp_xprofile_data_' . $u );
     57                $c = new stdClass;
     58                $c->id = 3;
     59                wp_cache_set( $f, $c, 'bp_xprofile_data_' . $u );
    5860
    5961                $this->assertTrue( $d->exists() );
Note: See TracChangeset for help on using the changeset viewer.