Make WordPress Core


Ignore:
Timestamp:
03/19/2023 12:03:30 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Tests: Use the data_ prefix for various data provider methods.

This aims to bring more consistency to the test suite, as the vast majority of data providers already use that prefix.

Includes moving some data providers next to the tests they are used in.

Follow-up to [55464].

See #57841.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php

    r55337 r55562  
    7474     * @param string      $expected Expected in SQL query.
    7575
    76      * @dataProvider data_test_columns_should_be_sortable
     76     * @dataProvider data_columns_should_be_sortable
    7777     * @covers WP_Privacy_Requests_Table::prepare_items
    7878     * @ticket 43960
     
    126126     * }
    127127     */
    128     public function data_test_columns_should_be_sortable() {
     128    public function data_columns_should_be_sortable() {
    129129        return array(
    130130            // Default order (ID) DESC.
Note: See TracChangeset for help on using the changeset viewer.