Make WordPress Core

Changeset 54479


Ignore:
Timestamp:
10/11/2022 02:25:47 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk/tests/phpunit/tests
Files:
1 deleted
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/readme.php

    r54478 r54479  
    11<?php
    22/**
     3 * Validate recommended versions for dependencies referenced in `readme.html`,
     4 * based on external site support pages.
     5 *
    36 * @group external-http
    47 */
    5 class Tests_External_HTTP_Basic extends WP_UnitTestCase {
     8class Tests_Readme extends WP_UnitTestCase {
    69
    710    /**
    8      * @covers ::wp_remote_get
    9      * @covers ::wp_remote_retrieve_response_code
    10      * @covers ::wp_remote_retrieve_body
     11     * @coversNothing
    1112     */
    1213    public function test_readme_php_version() {
     
    3031
    3132    /**
    32      * @covers ::wp_remote_get
    33      * @covers ::wp_remote_retrieve_response_code
    34      * @covers ::wp_remote_retrieve_body
     33     * @coversNothing
    3534     */
    3635    public function test_readme_mysql_version() {
     
    6362
    6463    /**
    65      * @covers ::wp_remote_get
    66      * @covers ::wp_remote_retrieve_response_code
    67      * @covers ::wp_remote_retrieve_body
     64     * @coversNothing
    6865     */
    6966    public function test_readme_mariadb_version() {
Note: See TracChangeset for help on using the changeset viewer.