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.



git-svn-id: https://develop.svn.wordpress.org/trunk@59918 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2025-03-03 21:29:54 +00:00
parent d55d8dcffa
commit 9c11701d77

View File

@ -84,7 +84,6 @@ class Tests_Get_Calendar extends WP_UnitTestCase {
$second_calendar_html = get_calendar( false, false );
$this->assertStringContainsString( '<th scope="col" aria-label="Monday">Mon</th>', $first_calendar_html );
$this->assertStringContainsString( 'February 2025', $first_calendar_html );
$this->assertStringContainsString( '<table id="wp-calendar"', $second_calendar_html );
$this->assertStringContainsString( '<th scope="col" aria-label="Monday">Mon</th>', $second_calendar_html );
}