Skip to content

Commit

Permalink
fixed indent
Browse files Browse the repository at this point in the history
  • Loading branch information
pradpnayak committed Mar 30, 2020
1 parent 5467acf commit c832bda
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/phpunit/CRM/Core/BAO/CustomFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -752,10 +752,12 @@ public function testAlterCustomFieldDisplayValueHook() {
));

$values = [];
$fields = ['custom_' . $fieldId => $this->callAPISuccess('Contact', 'getfield', [
'name' => 'custom_' . $fieldId,
'action' => 'get',
])['values']];
$fields = [
'custom_' . $fieldId => $this->callAPISuccess('Contact', 'getfield', [
'name' => 'custom_' . $fieldId,
'action' => 'get',
])['values'],
];

// CRM_Core_BAO_UFGroup::getValues() invokes CRM_Core_BAO_CustomField::displayValue() function.
CRM_Core_BAO_UFGroup::getValues($contactId, $fields, $values);
Expand Down

0 comments on commit c832bda

Please sign in to comment.