From 49161cfbade820e6e08b64db3241cd267314dd2f Mon Sep 17 00:00:00 2001 From: Imran Hossain Date: Tue, 29 Oct 2024 12:11:12 +0600 Subject: [PATCH] Fix CI fail issue --- tests/unit-tests/test-class-sensei-utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-tests/test-class-sensei-utils.php b/tests/unit-tests/test-class-sensei-utils.php index dd1288de70..7881d4a985 100644 --- a/tests/unit-tests/test-class-sensei-utils.php +++ b/tests/unit-tests/test-class-sensei-utils.php @@ -494,7 +494,7 @@ public function lastActivityDateTestingData() { global $wp_version; // Account for the string change introduced in https://core.trac.wordpress.org/ticket/61535 - $minutes_text = version_compare( $wp_version, '6.6.1', '<=' ) ? 'mins' : 'minutes'; + $minutes_text = version_compare( $wp_version, '6.6.2', '<=' ) ? 'mins' : 'minutes'; return [ 'days' => [ ( 5 * 24 * 60 * 60 ), '5 days ago' ],