Changeset 46214 for trunk/tests/phpunit/tests/theme/customHeader.php
- Timestamp:
- 09/20/2019 10:01:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/customHeader.php
r43571 r46214 127 127 $this->assertEmpty( $html ); 128 128 129 // ReflectionMethod::setAccessible is only available in PHP 5.3+130 if ( version_compare( PHP_VERSION, '5.3', '<' ) ) {131 return;132 }133 129 // The container should always be returned in the Customizer preview. 134 130 $this->_set_customize_previewing( true ); … … 227 223 228 224 function test_header_script_is_enqueued_by_the_custom_header_markup_without_video_when_previewing_in_customizer() { 229 if ( version_compare( PHP_VERSION, '5.3', '<' ) ) {230 $this->markTestSkipped( 'ReflectionMethod::setAccessible is only available in PHP 5.3+' );231 return;232 }233 234 225 $this->_add_theme_support( 235 226 array(
Note: See TracChangeset
for help on using the changeset viewer.