Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/27/2017 10:40:46 AM (9 years ago)
Author:
johnjamesjacoby
Message:

Tests: include missing test fix for #7595.

File:
1 edited

Legend:

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

    r11611 r11706  
    7979                $this->assertSame( $num_queries, $wpdb->num_queries );
    8080        }
    81 
    82         /**
    83          * @group bp_core_get_core_userdata
    84          */
    85         public function test_bp_core_get_core_userdata_should_cache_no_results() {
    86                 // Get the userdata for a user that doesn't exist.
    87                 bp_core_get_core_userdata( PHP_INT_MAX );
    88 
    89                 // Assert that the non-existent user's attempt was cached.
    90                 $this->assertNotFalse( wp_cache_get( 'bp_core_userdata_' . PHP_INT_MAX, 'bp' ) );
    91         }
    9281}
    9382
Note: See TracChangeset for help on using the changeset viewer.