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/image/editor.php

    r54417 r55562  
    289289     *
    290290     * @ticket 35725
    291      * @dataProvider _test_wp_get_webp_info
     291     * @dataProvider data_wp_get_webp_info
    292292     *
    293293     */
     
    306306     * Data provider for test_wp_get_webp_info().
    307307     */
    308     public function _test_wp_get_webp_info() {
     308    public function data_wp_get_webp_info() {
    309309        return array(
    310310            // Standard JPEG.
Note: See TracChangeset for help on using the changeset viewer.