diff --git a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php index 5ff49af24f72..07244a71c76d 100644 --- a/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php +++ b/tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php @@ -880,8 +880,6 @@ public function mailerExamples(): array { '{contact.display_name}', // funny legacy contact token '{contact.gender}', - // funny legacy contact token - '{contact.gender_id}', // domain token '{domain.name}', // action-scheduler token @@ -896,7 +894,7 @@ public function mailerExamples(): array { ]); // Note: The behavior of domain-tokens on a scheduled reminder is undefined. All we // can really do is check that it has something. - $someTokensExpected = 'Churmondleia Ōtākou;;Female;;Female;;[a-zA-Z0-9 ]+;;Phone Call'; + $someTokensExpected = 'Churmondleia Ōtākou;;Female;;[a-zA-Z0-9 ]+;;Phone Call'; $manyTokensExpected = sprintf('%s;;Dear Churmondleia;;%s', $someTokensExpected, '{contactCustomTokenValue}'); // In this example, we use a lot of tokens cutting across multiple components.