Make WordPress Core


Ignore:
Timestamp:
02/13/2021 01:45:23 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Simplify @covers tags in editor/wpEditors.php using @coversDefaultClass annotation.

Follow-up to [50288].

See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/editor/wpEditors.php

    r50288 r50338  
    77/**
    88 * @group editor
     9 *
     10 * @coversDefaultClass _WP_Editors
    911 */
    1012class Tests_WP_Editors extends WP_UnitTestCase {
    1113
    1214    /**
    13      * @covers _WP_Editors::wp_link_query
     15     * @covers ::wp_link_query
    1416     */
    1517    public function test_wp_link_query_returns_false_when_nothing_found() {
     
    2022
    2123    /**
    22      * @covers _WP_Editors::wp_link_query
     24     * @covers ::wp_link_query
    2325     */
    2426    public function test_wp_link_query_returns_search_results() {
     
    4244     * @ticket 41825
    4345     *
    44      * @covers _WP_Editors::wp_link_query
     46     * @covers ::wp_link_query
    4547     */
    4648    public function test_wp_link_query_returns_filtered_result_when_nothing_found() {
     
    6365
    6466    /**
    65      * @covers _WP_Editors::wp_link_query
     67     * @covers ::wp_link_query
    6668     */
    6769    public function test_wp_link_query_returns_filtered_search_results() {
Note: See TracChangeset for help on using the changeset viewer.