Changeset 13980 for trunk/tests/phpunit/testcases/groups/notifications.php
- Timestamp:
- 07/27/2024 04:30:23 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/groups/notifications.php
r13873 r13980 14 14 parent::set_up(); 15 15 $this->current_user = get_current_user_id(); 16 $this->set_current_user( self::factory()->user->create() );16 self::set_current_user( self::factory()->user->create() ); 17 17 18 18 $this->requesting_user_id = self::factory()->user->create(); … … 22 22 23 23 public function tear_down() { 24 self::set_current_user( $this->current_user ); 25 24 26 parent::tear_down(); 25 $this->set_current_user( $this->current_user );26 27 } 27 28 … … 299 300 $this->assertEmpty( $u1_notifications ); 300 301 } 301 302 302 }
Note: See TracChangeset
for help on using the changeset viewer.