Fix conformance to the right entity....
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 1 Aug 2022 23:57:16 +0000 (11:57 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 2 Aug 2022 02:35:56 +0000 (14:35 +1200)
tests/phpunit/api/v4/Api4TestBase.php

index 28afdf581e1246a0e1a85795f7a8b7f005dda364..3b6f6f260e61ffcc14850b48384bf6a083712333 100644 (file)
@@ -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':