Changeset 8323 for trunk/tests/testcases/core/functions.php
- Timestamp:
- 04/26/2014 05:13:30 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/tests/testcases/core/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/core/functions.php
r7819 r8323 331 331 } 332 332 } 333 334 /** 335 * @group bp_core_add_root_component 336 */ 337 public function test_add_root_component_not_in_bp_pages() { 338 buddypress()->foo = new stdClass; 339 buddypress()->foo->id = 'foo'; 340 buddypress()->foo->slug = 'foo'; 341 342 bp_core_add_root_component( 'foo' ); 343 344 $this->assertTrue( in_array( 'foo', buddypress()->add_root ) ); 345 $this->assertTrue( buddypress()->foo->has_directory ); 346 $this->assertNotEmpty( buddypress()->loaded_components['foo'] ); 347 } 333 348 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)