Changeset 9608 for trunk/tests/phpunit/testcases/admin/functions.php
- Timestamp:
- 03/10/2015 03:23:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/admin/functions.php
r9555 r9608 145 145 ) ) ); 146 146 147 $page_ids = array_merge( $new_page_ids, (array) bp_core_get_directory_page_ids( ) );147 $page_ids = array_merge( $new_page_ids, (array) bp_core_get_directory_page_ids( 'all' ) ); 148 148 bp_core_update_directory_page_ids( $page_ids ); 149 149 … … 151 151 bp_core_add_page_mappings( $bp->active_components ); 152 152 153 $this->assertContains( $bp->foo->id, array_keys( bp_core_get_directory_page_ids( ) ) );153 $this->assertContains( $bp->foo->id, array_keys( bp_core_get_directory_page_ids( 'all' ) ) ); 154 154 155 155 // Reset buddypress() vars
Note: See TracChangeset
for help on using the changeset viewer.