Skip to content

Commit

Permalink
Fix CI fail issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Imran92 committed Oct 29, 2024
1 parent f634821 commit 49161cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit-tests/test-class-sensei-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ],
Expand Down

0 comments on commit 49161cf

Please sign in to comment.