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/formatting/getBloginfo.php

    r54728 r55562  
    99
    1010    /**
    11      * @dataProvider locales
     11     * @dataProvider data_get_bloginfo_language
    1212     * @ticket 28303
    1313     */
     
    2323    }
    2424
    25     public function locales() {
     25    public function data_get_bloginfo_language() {
    2626        return array(
    2727            // Locale, language code.
Note: See TracChangeset for help on using the changeset viewer.