From d55d8dcffa7ffb4370015096dfa6dc08e11d0300 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 3 Mar 2025 21:15:50 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/functions/getCalendar.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/phpunit/tests/functions/getCalendar.php b/tests/phpunit/tests/functions/getCalendar.php index 220bf75860..133c642b44 100644 --- a/tests/phpunit/tests/functions/getCalendar.php +++ b/tests/phpunit/tests/functions/getCalendar.php @@ -69,8 +69,6 @@ class Tests_Get_Calendar extends WP_UnitTestCase { remove_all_filters( 'get_calendar_args' ); $this->assertStringContainsString( 'assertStringContainsString( 'Posts published on February 3, 2025', $calendar_html ); - $this->assertStringContainsString( 'February 2025', $calendar_html ); } /**