Changeset 60729 for trunk/tests/phpunit/tests/admin/wpSiteHealth.php
- Timestamp:
- 09/11/2025 02:45:56 PM (5 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/admin/wpSiteHealth.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/wpSiteHealth.php
r58432 r60729 41 41 $reflection = new ReflectionClass( $this->instance ); 42 42 $reflection_property = $reflection->getProperty( 'mysql_recommended_version' ); 43 $reflection_property->setAccessible( true ); 44 43 if ( PHP_VERSION_ID < 80100 ) { 44 $reflection_property->setAccessible( true ); 45 } 45 46 $readme = file_get_contents( ABSPATH . 'readme.html' ); 46 47 … … 57 58 $reflection = new ReflectionClass( $this->instance ); 58 59 $reflection_property = $reflection->getProperty( 'mariadb_recommended_version' ); 59 $reflection_property->setAccessible( true ); 60 if ( PHP_VERSION_ID < 80100 ) { 61 $reflection_property->setAccessible( true ); 62 } 60 63 61 64 $readme = file_get_contents( ABSPATH . 'readme.html' );
Note: See TracChangeset
for help on using the changeset viewer.