Make WordPress Core

Changeset 59918


Ignore:
Timestamp:
03/03/2025 09:29:54 PM (15 months ago)
Author:
audrasjb
Message:

Widgets: Fix get_calendar() related PHPUnit tests.

This is a new fix for PHPUnit tests failures after [59908].

Follow-up to [59908], [59917].

See #34093.

File:
1 edited

Legend:

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

    r59917 r59918  
    8585
    8686        $this->assertStringContainsString( '<th scope="col" aria-label="Monday">Mon</th>', $first_calendar_html );
    87         $this->assertStringContainsString( 'February 2025', $first_calendar_html );
    8887        $this->assertStringContainsString( '<table id="wp-calendar"', $second_calendar_html );
    8988        $this->assertStringContainsString( '<th scope="col" aria-label="Monday">Mon</th>', $second_calendar_html );
Note: See TracChangeset for help on using the changeset viewer.