Changeset 10972 for trunk/tests/phpunit/testcases/admin/functions.php
- Timestamp:
- 07/30/2016 12:32:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/admin/functions.php
r10941 r10972 209 209 $missing_pages = array(); 210 210 foreach( buddypress()->admin->notices as $notice ) { 211 if ( false !== strpos( $notice['message'], 'BuddyPress is almost ready' ) ) { 212 continue; 213 } 214 211 215 preg_match_all( '/<strong>(.+?)<\/strong>/', $notice['message'], $missing_pages ); 212 216 } 213 217 214 $this->assertNotContains( 'Register', $missing_pages[1] ); 215 $this->assertNotContains( 'Activate', $missing_pages[1] ); 218 $this->assertEmpty( $missing_pages ); 216 219 217 220 // Reset buddypress() vars
Note: See TracChangeset
for help on using the changeset viewer.