- Timestamp:
- 11/03/2024 06:19:06 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/messages/class.bp-messages-thread.php
r13980 r14070 572 572 // Mark thread as read 573 573 $current_user = get_current_user_id(); 574 self::set_current_user( $u2 );574 wp_set_current_user( $u2 ); 575 575 messages_mark_thread_read( $t1 ); 576 576 … … 578 578 $this->assertFalse( wp_cache_get( 'thread_recipients_' . $t1, 'bp_messages' ) ); 579 579 580 self::set_current_user( $current_user );580 wp_set_current_user( $current_user ); 581 581 } 582 582 … … 674 674 // Mark thread as unread 675 675 $current_user = get_current_user_id(); 676 self::set_current_user( $u2 );676 wp_set_current_user( $u2 ); 677 677 messages_mark_thread_unread( $t1 ); 678 678 … … 680 680 $this->assertFalse( wp_cache_get( 'thread_recipients_' . $t1, 'bp_messages' ) ); 681 681 682 self::set_current_user( $current_user );682 wp_set_current_user( $current_user ); 683 683 } 684 684
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)