Widgets: Fix get_calendar() related PHPUnit tests.

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

Follow-up to [59908].

See #34093.



git-svn-id: https://develop.svn.wordpress.org/trunk@59917 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2025-03-03 21:15:50 +00:00
parent ad039b2f25
commit d55d8dcffa

View File

@ -69,8 +69,6 @@ class Tests_Get_Calendar extends WP_UnitTestCase {
remove_all_filters( 'get_calendar_args' );
$this->assertStringContainsString( '<table id="wp-calendar"', $calendar_html );
$this->assertStringContainsString( 'Posts published on February 3, 2025', $calendar_html );
$this->assertStringContainsString( 'February 2025', $calendar_html );
}
/**