diff --git a/tests/phpunit/api/v4/Api4TestBase.php b/tests/phpunit/api/v4/Api4TestBase.php index 28afdf581e12..3b6f6f260e61 100644 --- a/tests/phpunit/api/v4/Api4TestBase.php +++ b/tests/phpunit/api/v4/Api4TestBase.php @@ -203,9 +203,9 @@ public function getRequiredValuesToCreate(string $entity, &$values = []) { 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':