From 87953e10e4b0293d8fe4512da76c591a7fdc089c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 4 Mar 2025 14:55:38 +0000 Subject: [PATCH] Tests: Move `get_calendar()` tests to a more appropriate place. This aims to bring consistency with the tests for the other functions in `wp-includes/general-template.php`. Includes correcting the test class name as per the naming conventions. Follow-up to [59908]. See #34093. git-svn-id: https://develop.svn.wordpress.org/trunk@59930 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/{functions => general}/getCalendar.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename tests/phpunit/tests/{functions => general}/getCalendar.php (95%) diff --git a/tests/phpunit/tests/functions/getCalendar.php b/tests/phpunit/tests/general/getCalendar.php similarity index 95% rename from tests/phpunit/tests/functions/getCalendar.php rename to tests/phpunit/tests/general/getCalendar.php index 239a9bdd73..a2f4de4ee3 100644 --- a/tests/phpunit/tests/functions/getCalendar.php +++ b/tests/phpunit/tests/general/getCalendar.php @@ -4,12 +4,12 @@ * * @since 6.8.0 * - * @group functions - * @group calendar + * @group general + * @group template * * @covers ::get_calendar */ -class Tests_Get_Calendar extends WP_UnitTestCase { +class Tests_General_GetCalendar extends WP_UnitTestCase { /** * Array of post IDs.