Changeset 7188 for trunk/tests/testcases/admin/functions.php
- Timestamp:
- 06/07/2013 11:16:17 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.