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/sanitizeTrackbackUrls.php

    r55064 r55562  
    99    /**
    1010     * @ticket 21624
    11      * @dataProvider separators
     11     * @dataProvider data_sanitize_trackback_urls_with_multiple_urls
    1212     */
    1313    public function test_sanitize_trackback_urls_with_multiple_urls( $separator ) {
     
    1818    }
    1919
    20     public function separators() {
     20    public function data_sanitize_trackback_urls_with_multiple_urls() {
    2121        return array(
    2222            array( "\r\n\t " ),
Note: See TracChangeset for help on using the changeset viewer.