- Timestamp:
- 11/14/2014 02:01:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/messages/class.bp-messages-notice.php
r8958 r9139 11 11 parent::setUp(); 12 12 $this->old_current_user = get_current_user_id(); 13 $this->set_current_user( $this-> create_user( array( 'role' => 'administrator' ) ) );13 $this->set_current_user( $this->factory->user->create( array( 'role' => 'administrator' ) ) ); 14 14 } 15 15 … … 44 44 // now get the new active notice 45 45 BP_Messages_Notice::get_active(); 46 46 47 47 // grab the cache and make sure it equals our new notice 48 48 $cache = wp_cache_get( 'active_notice', 'bp_messages' );
Note: See TracChangeset
for help on using the changeset viewer.