Changeset 13436 for trunk/tests/phpunit/testcases/core/nav/backCompat.php
- Timestamp:
- 03/15/2023 08:16:46 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/nav/backCompat.php
r13314 r13436 10 10 protected $bp_nav; 11 11 protected $bp_options_nav; 12 protected $permalink_structure = ''; 12 13 13 14 public function set_up() { … … 15 16 $this->bp_nav = buddypress()->bp_nav; 16 17 $this->bp_options_nav = buddypress()->bp_options_nav; 18 $this->permalink_structure = get_option( 'permalink_structure', '' ); 17 19 } 18 20 … … 20 22 buddypress()->bp_nav = $this->bp_nav; 21 23 buddypress()->bp_options_nav = $this->bp_options_nav; 24 $this->set_permalink_structure( $this->permalink_structure ); 22 25 parent::tear_down(); 23 26 } … … 46 49 */ 47 50 protected function set_up_group() { 51 $this->set_permalink_structure( '/%postname%/' ); 48 52 $g = self::factory()->group->create( array( 49 53 'slug' => 'testgroup',
Note: See TracChangeset
for help on using the changeset viewer.