Changeset 9701 for trunk/tests/phpunit/testcases/core/nav.php
- Timestamp:
- 04/06/2015 03:19:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/nav.php
r9700 r9701 382 382 $this->assertSame( $expected, buddypress()->bp_options_nav['foo-parent']['bar']['link'] ); 383 383 } 384 385 /** 386 * @group bp_core_new_subnav_item 387 * @ticket BP6353 388 */ 389 public function test_bp_core_new_subnav_item_link_should_not_trailingslash_link_explicit_link() { 390 $link = 'http://example.com/foo/bar/blah/?action=edit&id=30'; 391 392 bp_core_new_subnav_item( array( 393 'name' => 'bar', 394 'slug' => 'bar', 395 'parent_slug' => 'foo', 396 'parent_url' => 'http://example.com/foo/', 397 'screen_function' => 'foo', 398 'link' => $link, 399 ) ); 400 401 $this->assertSame( $link, buddypress()->bp_options_nav['foo']['bar']['link'] ); 402 } 384 403 }
Note: See TracChangeset
for help on using the changeset viewer.