Changeset 13507 for trunk/tests/phpunit/testcases/routing/core.php
- Timestamp:
- 06/25/2023 05:18:41 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/testcases/routing/core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/routing/core.php
r13461 r13507 21 21 $this->set_permalink_structure( $this->permalink_structure ); 22 22 } 23 23 24 function test_wordpress_page() { 24 25 $this->set_permalink_structure( '/%postname%/' ); … … 26 27 $this->assertEmpty( bp_current_component() ); 27 28 } 28 29 /**30 * @expectedIncorrectUsage bp_nav31 */32 function test_nav_menu() {33 $this->set_permalink_structure( '/%postname%/' );34 $this->go_to( '/' );35 $this->assertTrue( isset( buddypress()->bp_nav['activity'] ) );36 $this->assertTrue( isset( buddypress()->bp_nav['profile'] ) );37 }38 29 }
Note: See TracChangeset
for help on using the changeset viewer.