Skip to content
Snippets Groups Projects
Unverified Commit a84e551a authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #15965 from colemanw/ufMatchTest

Fix potential test glitch when repeatedly calling createLoggedInUser
parents d7d52f61 3ed232a5
Branches
Tags 5.81.1
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