From: Tim Otten Date: Tue, 21 Sep 2021 08:47:52 +0000 (-0700) Subject: TokenConsistencyTest - Use a valid timestamp X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5e62af3d6a5bd63f7e612f7088fdae2b452ce7f1;p=civicrm-core.git TokenConsistencyTest - Use a valid timestamp --- diff --git a/tests/phpunit/CRM/Utils/TokenConsistencyTest.php b/tests/phpunit/CRM/Utils/TokenConsistencyTest.php index 34d5fea5fe..92e45f6202 100644 --- a/tests/phpunit/CRM/Utils/TokenConsistencyTest.php +++ b/tests/phpunit/CRM/Utils/TokenConsistencyTest.php @@ -519,7 +519,7 @@ December 21st, 2007 */ public function testDomainNow(): void { putenv('TIME_FUNC=frozen'); - CRM_Utils_Time::setTime('2021-21-18 11:58:00'); + CRM_Utils_Time::setTime('2021-09-18 23:58:00'); $resolved = CRM_Core_BAO_MessageTemplate::renderTemplate([ 'messageTemplate' => [ 'msg_text' => '{domain.now|crmDate:short}',