Skip to content

Commit

Permalink
Fix conformance to the right entity....
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Aug 2, 2022
1 parent df2f430 commit 9010096
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/phpunit/api/v4/Api4TestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 9010096

Please sign in to comment.