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/l10n/loadScriptTextdomain.php

    r54349 r55562  
    1515     * @ticket 49145
    1616     *
    17      * @dataProvider data_test_resolve_relative_path
     17     * @dataProvider data_resolve_relative_path
    1818     */
    1919    public function test_resolve_relative_path( $translation_path, $handle, $src, $textdomain, $filter = array() ) {
     
    2727    }
    2828
    29     public function data_test_resolve_relative_path() {
     29    public function data_resolve_relative_path() {
    3030        return array(
    3131            // @ticket 45528
Note: See TracChangeset for help on using the changeset viewer.