Changeset 40543 for trunk/tests/phpunit/tests/link/getDashboardUrl.php
- Timestamp:
- 04/23/2017 09:57:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/link/getDashboardUrl.php
r40520 r40543 42 42 */ 43 43 public function test_get_dashboard_url_for_network_administrator_with_no_sites() { 44 if ( ! is_multisite() ) { 45 $this->markTestSkipped( 'Test only runs in multisite.' ); 46 } 44 $this->skipWithoutMultisite(); 47 45 48 46 grant_super_admin( self::$user_id ); … … 63 61 */ 64 62 public function test_get_dashboard_url_for_administrator_of_different_site() { 65 if ( ! is_multisite() ) { 66 $this->markTestSkipped( 'Test only runs in multisite.' ); 67 } 63 $this->skipWithoutMultisite(); 68 64 69 65 $site_id = self::factory()->blog->create( array( 'user_id' => self::$user_id ) );
Note: See TracChangeset
for help on using the changeset viewer.