Make WordPress Core


Ignore:
Timestamp:
11/22/2022 09:25:27 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Tests: Correct references to set_up() and tear_down() in various DocBlocks.

The setUp() and tearDown() methods were renamed to set_up() and tear_down(), respectively, as part of implementing the void return type solution for PHPUnit 8.0.

Follow-up to [29120], [29251], [30277], [32173], [32806], [38829], [42379], [50450], [51276], [51568].

See #56793.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/query/postStatus.php

    r51568 r54865  
    8888     *
    8989     * CPTs and CPSs are reset between each test run so need to be registered
    90      * in both the wpSetUpBeforeClass() and setUp() methods.
     90     * in both the wpSetUpBeforeClass() and set_up() methods.
    9191     */
    9292    public static function register_custom_post_objects() {
Note: See TracChangeset for help on using the changeset viewer.