Skip to content
Snippets Groups Projects
Commit 3ed232a5 authored by colemanw's avatar colemanw
Browse files

Fix potential test glitch when repeatedly calling createLoggedInUser

parent d7d52f61
Branches
Tags
No related merge requests found
......@@ -31,6 +31,7 @@ trait ContactTestTrait {
'domain_id' => \CRM_Core_Config::domainID(),
];
$contactID = $this->individualCreate($params);
$this->callAPISuccess('UFMatch', 'get', ['uf_id' => 6, 'api.UFMatch.delete' => []]);
$this->callAPISuccess('UFMatch', 'create', [
'contact_id' => $contactID,
'uf_name' => 'superman',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment