Changeset 14070 for trunk/tests/phpunit/testcases/groups/notifications.php
- Timestamp:
- 11/03/2024 06:19:06 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/groups/notifications.php
r13980 r14070 14 14 parent::set_up(); 15 15 $this->current_user = get_current_user_id(); 16 self::set_current_user( self::factory()->user->create() );16 wp_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 );24 wp_set_current_user( $this->current_user ); 25 25 26 26 parent::tear_down();
Note: See TracChangeset
for help on using the changeset viewer.