Changeset 40543 for trunk/tests/phpunit/tests/theme/WPTheme.php
- Timestamp:
- 04/23/2017 09:57:31 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/WPTheme.php
r40520 r40543 149 149 */ 150 150 function test_wp_theme_network_enable_single_theme() { 151 if ( ! is_multisite() ) { 152 $this->markTestSkipped( 'This test requires multisite' ); 153 } 151 $this->skipWithoutMultisite(); 154 152 155 153 $theme = 'testtheme-1'; … … 170 168 */ 171 169 function test_wp_theme_network_enable_multiple_themes() { 172 if ( ! is_multisite() ) { 173 $this->markTestSkipped( 'This test requires multisite' ); 174 } 170 $this->skipWithoutMultisite(); 175 171 176 172 $themes = array( 'testtheme-2', 'testtheme-3' ); … … 191 187 */ 192 188 function test_network_disable_single_theme() { 193 if ( ! is_multisite() ) { 194 $this->markTestSkipped( 'This test requires multisite' ); 195 } 189 $this->skipWithoutMultisite(); 196 190 197 191 $current_allowed_themes = get_site_option( 'allowedthemes' ); … … 216 210 */ 217 211 function test_network_disable_multiple_themes() { 218 if ( ! is_multisite() ) { 219 $this->markTestSkipped( 'This test requires multisite' ); 220 } 212 $this->skipWithoutMultisite(); 221 213 222 214 $current_allowed_themes = get_site_option( 'allowedthemes' );
Note: See TracChangeset
for help on using the changeset viewer.