Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/27/2024 04:30:23 PM (2 years ago)
Author:
espellcaste
Message:

Unit Tests: Conducted a thorough review of existing unit tests files and improved them to ensure robustness.

Props imath.

Closes https://github.com/buddypress/buddypress/pull/295
Fixes #9081

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/messages/star.php

    r11737 r13980  
    155155
    156156                // delete the second thread
    157                 $this->set_current_user( $u2 );
     157                self::set_current_user( $u2 );
    158158                messages_delete_thread( $t2 );
    159159
     
    169169
    170170                // reset
    171                 $this->set_current_user( $old_current_user );
     171                self::set_current_user( $old_current_user );
    172172        }
    173173
Note: See TracChangeset for help on using the changeset viewer.