- Timestamp:
- 03/15/2023 08:16:46 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/groups/class-bp-groups-member.php
r13314 r13436 7 7 static public $user_ids; 8 8 static public $group_ids; 9 protected $permalink_structure = ''; 10 11 public function set_up() { 12 parent::set_up(); 13 $this->permalink_structure = get_option( 'permalink_structure', '' ); 14 } 15 16 public function tear_down() { 17 parent::tear_down(); 18 $this->set_permalink_structure( $this->permalink_structure ); 19 } 9 20 10 21 public static function wpSetUpBeforeClass( $factory ) { … … 161 172 */ 162 173 public function test_bp_groups_user_can_send_invites() { 174 $this->set_permalink_structure( '/%postname%/' ); 163 175 $u_nonmembers = self::factory()->user->create(); 164 176 $u_members = self::factory()->user->create();
Note: See TracChangeset
for help on using the changeset viewer.