Changeset 9139 for trunk/tests/phpunit/testcases/admin/functions.php
- Timestamp:
- 11/14/2014 02:01:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/admin/functions.php
r8958 r9139 9 9 parent::setUp(); 10 10 $this->old_current_user = get_current_user_id(); 11 $this->set_current_user( $this-> create_user( array( 'role' => 'administrator' ) ) );11 $this->set_current_user( $this->factory->user->create( array( 'role' => 'administrator' ) ) ); 12 12 13 13 if ( ! function_exists( 'bp_admin' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.