Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/30/2016 12:32:04 PM (8 years ago)
Author:
imath
Message:

Multisite: Make sure the Blogs directory page is dynamically created when activating the component.

Fixes #7150

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/admin/functions.php

    r10941 r10972  
    209209        $missing_pages = array();
    210210        foreach( buddypress()->admin->notices as $notice ) {
     211            if ( false !== strpos( $notice['message'], 'BuddyPress is almost ready' ) ) {
     212                continue;
     213            }
     214
    211215            preg_match_all( '/<strong>(.+?)<\/strong>/', $notice['message'], $missing_pages );
    212216        }
    213217
    214         $this->assertNotContains( 'Register', $missing_pages[1] );
    215         $this->assertNotContains( 'Activate', $missing_pages[1] );
     218        $this->assertEmpty( $missing_pages );
    216219
    217220        // Reset buddypress() vars
Note: See TracChangeset for help on using the changeset viewer.