Make WordPress Core


Ignore:
Timestamp:
03/19/2023 12:03:30 PM (21 months 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/functions/wpListPluck.php

    r55341 r55562  
    205205
    206206    /**
    207      * @dataProvider data_test_wp_list_pluck
     207     * @dataProvider data_wp_list_pluck
    208208     *
    209209     * @param array      $input_list List of objects or arrays.
     
    216216    }
    217217
    218     public function data_test_wp_list_pluck() {
     218    public function data_wp_list_pluck() {
    219219        return array(
    220220            'arrays'                         => array(
Note: See TracChangeset for help on using the changeset viewer.