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

    r54384 r55562  
    774774     * @ticket 21212
    775775     */
    776     public function data_test_get_table_charset() {
     776    public function data_get_table_charset() {
    777777        $table_name = 'test_get_table_charset';
    778778
     
    789789
    790790    /**
    791      * @dataProvider data_test_get_table_charset
     791     * @dataProvider data_get_table_charset
    792792     * @ticket 21212
    793793     *
     
    815815     * @ticket 21212
    816816     */
    817     public function data_test_get_column_charset() {
     817    public function data_get_column_charset() {
    818818        $table_name = 'test_get_column_charset';
    819819
     
    830830
    831831    /**
    832      * @dataProvider data_test_get_column_charset
     832     * @dataProvider data_get_column_charset
    833833     * @ticket 21212
    834834     *
     
    857857
    858858    /**
    859      * @dataProvider data_test_get_column_charset
     859     * @dataProvider data_get_column_charset
    860860     * @ticket 21212
    861861     *
     
    884884
    885885    /**
    886      * @dataProvider data_test_get_column_charset
     886     * @dataProvider data_get_column_charset
    887887     * @ticket 33501
    888888     *
Note: See TracChangeset for help on using the changeset viewer.