TokenConsistencyTest - Fix assertion
authorTim Otten <totten@civicrm.org>
Tue, 21 Sep 2021 10:18:36 +0000 (03:18 -0700)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 22 Sep 2021 00:32:35 +0000 (12:32 +1200)
This is a new/recent assertion. Not passing. Looks different from other/similar assertions.

tests/phpunit/CRM/Utils/TokenConsistencyTest.php

index 92e45f6202a7c395a8b4ff05bd2efda8d3a2e57d..a4e0348a62eaa716276696f3dfcb71557299b359 100644 (file)
@@ -509,7 +509,7 @@ December 21st, 2007
     ]);
     $tokens['{domain.id}'] = 'Domain ID';
     $tokens['{domain.description}'] = 'Domain Description';
-    $tokens['domain.now'] = 'Current time/date';
+    $tokens['{domain.now}'] = 'Current time/date';
     $this->assertEquals($tokens, $tokenProcessor->listTokens());
   }