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/includes/testcase-canonical.php

    r51585 r54865  
    3838     * Generate fixtures to be shared between canonical tests.
    3939     *
    40      * Abstracted here because it's invoked by setUpBeforeClass() in more than one class.
     40     * Abstracted here because it's invoked by wpSetUpBeforeClass() in more than one class.
    4141     *
    4242     * @since 4.1.0
     
    4747
    4848        /*
    49          * Also set in self::setUp(), but we must configure here to make sure that
     49         * Also set in self::set_up(), but we must configure here to make sure that
    5050         * post authorship is properly attributed for fixtures.
    5151         */
Note: See TracChangeset for help on using the changeset viewer.