mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 08:04:27 +01:00
Tests: Relocate the tests for recommended PHP, MySQL, and MariaDB versions.
This commit moves the tests for recommended versions of dependencies referenced in `readme.html` to a new location for better context. Also updates test class name for clarity, and `@covers` annotations to `@coversNothing`. Follow-up to [26166], [33946], [35172], [52418], [52424]. Props ironprogrammer, bbobnis, antonvlasenko, azaozz, chaion07, priyomukul. Fixes #45867. git-svn-id: https://develop.svn.wordpress.org/trunk@54479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2414439208
commit
865b8ac065
@ -1,13 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* Validate recommended versions for dependencies referenced in `readme.html`,
|
||||
* based on external site support pages.
|
||||
*
|
||||
* @group external-http
|
||||
*/
|
||||
class Tests_External_HTTP_Basic extends WP_UnitTestCase {
|
||||
class Tests_Readme extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @covers ::wp_remote_get
|
||||
* @covers ::wp_remote_retrieve_response_code
|
||||
* @covers ::wp_remote_retrieve_body
|
||||
* @coversNothing
|
||||
*/
|
||||
public function test_readme_php_version() {
|
||||
$this->markTestSkipped(
|
||||
@ -29,9 +30,7 @@ class Tests_External_HTTP_Basic extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers ::wp_remote_get
|
||||
* @covers ::wp_remote_retrieve_response_code
|
||||
* @covers ::wp_remote_retrieve_body
|
||||
* @coversNothing
|
||||
*/
|
||||
public function test_readme_mysql_version() {
|
||||
// This test is designed to only run on trunk.
|
||||
@ -62,9 +61,7 @@ class Tests_External_HTTP_Basic extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers ::wp_remote_get
|
||||
* @covers ::wp_remote_retrieve_response_code
|
||||
* @covers ::wp_remote_retrieve_body
|
||||
* @coversNothing
|
||||
*/
|
||||
public function test_readme_mariadb_version() {
|
||||
// This test is designed to only run on trunk.
|
Loading…
x
Reference in New Issue
Block a user