Make WordPress Core


Ignore:
Timestamp:
02/28/2024 09:44:40 AM (5 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/sanitizeHexColorNoHash.php

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