diff --git a/tests/phpunit/tests/admin/wpSiteHealth.php b/tests/phpunit/tests/admin/wpSiteHealth.php index 1574150ae8..8339821791 100644 --- a/tests/phpunit/tests/admin/wpSiteHealth.php +++ b/tests/phpunit/tests/admin/wpSiteHealth.php @@ -34,15 +34,12 @@ class Tests_Admin_wpSiteHealth extends WP_UnitTestCase { /** * @ticket 55791 - * @covers ::prepare_sql_data() - * @covers ::get_test_sql_server() + * @covers ::__construct() */ public function test_mysql_recommended_version_matches_readme_html() { // This test is designed to only run on trunk. $this->skipOnAutomatedBranches(); - $this->instance->get_test_sql_server(); - $reflection = new ReflectionClass( $this->instance ); $reflection_property = $reflection->getProperty( 'mysql_recommended_version' ); $reflection_property->setAccessible( true ); @@ -56,15 +53,12 @@ class Tests_Admin_wpSiteHealth extends WP_UnitTestCase { /** * @ticket 55791 - * @covers ::prepare_sql_data() - * @covers ::get_test_sql_server() + * @covers ::__construct() */ public function test_mariadb_recommended_version_matches_readme_html() { // This test is designed to only run on trunk. $this->skipOnAutomatedBranches(); - $this->instance->get_test_sql_server(); - $reflection = new ReflectionClass( $this->instance ); $reflection_property = $reflection->getProperty( 'mariadb_recommended_version' ); $reflection_property->setAccessible( true );