Changeset 42343 for trunk/tests/phpunit/tests/link/getDashboardUrl.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/link/getDashboardUrl.php
r40564 r42343 47 47 48 48 $expected = admin_url(); 49 $result = get_dashboard_url( self::$user_id );49 $result = get_dashboard_url( self::$user_id ); 50 50 51 51 revoke_super_admin( self::$user_id ); … … 64 64 65 65 $expected = get_admin_url( $site_id ); 66 $result = get_dashboard_url( self::$user_id );66 $result = get_dashboard_url( self::$user_id ); 67 67 68 68 remove_user_from_blog( self::$user_id, $site_id ); 69 add_user_to_blog( get_current_blog_id(), self::$user_id, 'administrator' );69 add_user_to_blog( get_current_blog_id(), self::$user_id, 'administrator' ); 70 70 71 71 wpmu_delete_blog( $site_id, true );
Note: See TracChangeset
for help on using the changeset viewer.