Make WordPress Core

Changeset 57208


Ignore:
Timestamp:
12/20/2023 10:01:17 AM (4 months ago)
Author:
SergeyBiryukov
Message:

Tests: Correct the @group annotation for _wp_mysql_week() tests.

Includes updating the data provider name for consistency.

Follow-up to [57207].

See #59931.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/wpMysqlWeek.php

    r57207 r57208  
    22
    33/**
    4  * Tests for the _wp_mysql_week function.
     4 * Tests for the _wp_mysql_week() function.
    55 *
    6  * @group Functons.php
     6 * @group functions
    77 *
    88 * @covers ::_wp_mysql_week
     
    1313     * @ticket 59931
    1414     *
    15      * @dataProvider data_test_wp_mysql_week
     15     * @dataProvider data_wp_mysql_week
    1616     */
    1717    public function test_wp_mysql_week( $date, $start_of_week, $expected_sql ) {
     
    3030     * @return array[]
    3131     */
    32     public function data_test_wp_mysql_week() {
     32    public function data_wp_mysql_week() {
    3333        return array(
    3434            array( '1969-12-25', 0, 'WEEK( col_name, 0 )' ),
Note: See TracChangeset for help on using the changeset viewer.