- Timestamp:
- 08/13/2022 08:58:51 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/messages/class.bp-messages-notice.php
r11737 r13314 8 8 protected $old_current_user = 0; 9 9 10 public function set Up() {11 parent::set Up();10 public function set_up() { 11 parent::set_up(); 12 12 $this->old_current_user = get_current_user_id(); 13 13 $this->set_current_user( self::factory()->user->create( array( 'role' => 'administrator' ) ) ); 14 14 } 15 15 16 public function tear Down() {17 parent::tear Down();16 public function tear_down() { 17 parent::tear_down(); 18 18 $this->set_current_user( $this->old_current_user ); 19 19 }
Note: See TracChangeset
for help on using the changeset viewer.