Make WordPress Core


Ignore:
Timestamp:
02/28/2024 09:44:40 AM (11 months ago)
Author:
swissspidy
Message:

Tests: Address capitalization and docblock inconsistencies in some test class names.

Follow-up to [57060], [57718], [57725], [57726], [57727], [57728], [57733].

Props swissspidy, costdev.
See #59647.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/sanitizeHexColor.php

    r57733 r57735  
    88 * @covers ::sanitize_hex_color
    99 */
    10 class Tests_Formatting_sanitizeHexColor extends WP_UnitTestCase {
     10class Tests_Formatting_SanitizeHexColor extends WP_UnitTestCase {
    1111
    1212    /**
    1313     * @ticket 60270
    1414     *
    15      * @dataProvider date_sanitize_hex_color
     15     * @dataProvider data_sanitize_hex_color
     16     *
     17     * @param string $color    Color.
     18     * @param string $expected Expected.
    1619     */
    1720    public function test_sanitize_hex_color( $color, $expected ) {
     
    2023
    2124    /**
    22      * @return array
     25     * Data provider for test_sanitize_hex_color().
     26     *
     27     * @return array[]
    2328     */
    24     public function date_sanitize_hex_color() {
     29    public function data_sanitize_hex_color() {
    2530        return array(
    2631            '$maybe_alpha = false, 3 digit'               => array(
Note: See TracChangeset for help on using the changeset viewer.