Changeset 7188
- Timestamp:
- 06/07/2013 11:16:17 AM (12 years ago)
- Location:
- trunk/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/includes/testcase.php
r7141 r7188 206 206 $r = wp_parse_args( $args, array( 207 207 'role' => 'subscriber', 208 'last_activity' => bp_core_current_time() ,208 'last_activity' => bp_core_current_time() - 60*60*24*365, 209 209 ) ); 210 210 -
trunk/tests/testcases/admin/functions.php
r7039 r7188 8 8 public function setUp() { 9 9 parent::setUp(); 10 11 10 $this->old_current_user = get_current_user_id(); 12 $this->set_current_user( $this-> factory->user->create( array( 'role' => 'administrator' ) ) );11 $this->set_current_user( $this->create_user( array( 'role' => 'administrator' ) ) ); 13 12 14 13 if ( ! function_exists( 'bp_admin' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.