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/db/dbDelta.php

    r54711 r54865  
    100100        parent::tear_down();
    101101
    102         // This has to be called after the parent `tearDown()` method.
     102        // This has to be called after the parent `tear_down()` method.
    103103        $wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}dbdelta_test" );
    104104    }
Note: See TracChangeset for help on using the changeset viewer.