Make WordPress Core


Ignore:
Timestamp:
02/01/2018 04:08:04 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Tests: Correct erroneous @covers and @use tags.

Props jipmoors.
Fixes #43203.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/general/wpError.php

    r42255 r42636  
    169169
    170170    /**
    171      * @covers WP_Error:get_error_code()
     171     * @covers WP_Error::get_error_code()
    172172     */
    173173    public function test_get_error_code_with_no_errors_should_return_an_empty_string() {
     
    176176
    177177    /**
    178      * @covers WP_Error:get_error_code()
     178     * @covers WP_Error::get_error_code()
    179179     */
    180180    public function test_get_error_code_with_one_error_should_return_that_error_code() {
     
    185185
    186186    /**
    187      * @covers WP_Error:get_error_code()
     187     * @covers WP_Error::get_error_code()
    188188     */
    189189    public function test_get_error_code_with_multiple_errors_should_return_only_the_first_error_code() {
Note: See TracChangeset for help on using the changeset viewer.