projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f1227
)
ContactTestTrait::createLoggedInUser() - Fix domain_id error when running from extension
author
Tim Otten
<totten@civicrm.org>
Sat, 13 Apr 2019 00:42:40 +0000
(17:42 -0700)
committer
Tim Otten
<totten@civicrm.org>
Sat, 13 Apr 2019 03:04:56 +0000
(20:04 -0700)
Civi/Test/ContactTestTrait.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Test/ContactTestTrait.php
b/Civi/Test/ContactTestTrait.php
index 38307564dd2a10afbbd05ef47952bc1b2853434b..448231bb197312cd3cea3bb6ada85c8a758c6625 100644
(file)
--- a/
Civi/Test/ContactTestTrait.php
+++ b/
Civi/Test/ContactTestTrait.php
@@
-29,6
+29,7
@@
trait ContactTestTrait {
'first_name' => 'Logged In',
'last_name' => 'User ' . rand(),
'contact_type' => 'Individual',
+ 'domain_id' => \CRM_Core_Config::domainID(),
);
$contactID = $this->individualCreate($params);
$this->callAPISuccess('UFMatch', 'create', array(