From b4e4a67cf65f7d26d0cedbc37eec8ba7b72cacb4 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 2 Aug 2022 11:57:16 +1200 Subject: [PATCH] Fix conformance to the right entity.... --- tests/phpunit/api/v4/Api4TestBase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/api/v4/Api4TestBase.php b/tests/phpunit/api/v4/Api4TestBase.php index 28afdf581e..3b6f6f260e 100644 --- a/tests/phpunit/api/v4/Api4TestBase.php +++ b/tests/phpunit/api/v4/Api4TestBase.php @@ -203,9 +203,9 @@ class Api4TestBase extends \PHPUnit\Framework\TestCase implements HeadlessInterf break; case 'Translation': - $extraValues['entity_table'] = 'civicrm_event'; - $extraValues['entity_field'] = 'description'; - $extraValues['entity_id'] = $this->getFkID('Event'); + $extraValues['entity_table'] = 'civicrm_msg_template'; + $extraValues['entity_field'] = 'msg_subject'; + $extraValues['entity_id'] = $this->getFkID('MessageTemplate'); break; case 'Case': -- 2.25.1