Changeset 14070 for trunk/tests/phpunit/testcases/friends/notifications.php
- Timestamp:
- 11/03/2024 06:19:06 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/friends/notifications.php
r13980 r14070 12 12 parent::set_up(); 13 13 $this->current_user = get_current_user_id(); 14 self::set_current_user( self::factory()->user->create() );14 wp_set_current_user( self::factory()->user->create() ); 15 15 16 16 $this->friend = self::factory()->user->create(); … … 19 19 20 20 public function tear_down() { 21 self::set_current_user( $this->current_user );21 wp_set_current_user( $this->current_user ); 22 22 parent::tear_down(); 23 23 }
Note: See TracChangeset
for help on using the changeset viewer.