Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/27/2024 04:30:23 PM (23 months 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/xprofile/template.php

    r13797 r13980  
    1919        );
    2020
    21         $this->set_current_user( $u1 );
     21        self::set_current_user( $u1 );
    2222
    2323        bp_has_profile(
     
    3232        $this->assertEquals( 'Foo Bar', $field->data->value, 'The primary field should be the Name one and its value should be the same than the display name, by default' );
    3333
    34         $this->set_current_user( $prev_user );
     34        self::set_current_user( $prev_user );
    3535        $profile_template = $reset_profile_template;
    3636    }
Note: See TracChangeset for help on using the changeset viewer.