Changeset 11706 for trunk/tests/phpunit/testcases/members/cache.php
- Timestamp:
- 09/27/2017 10:40:46 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/members/cache.php
r11611 r11706 79 79 $this->assertSame( $num_queries, $wpdb->num_queries ); 80 80 } 81 82 /**83 * @group bp_core_get_core_userdata84 */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 }92 81 } 93 82
Note: See TracChangeset
for help on using the changeset viewer.