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:
0031e7e
)
api-tests fix api call that errored on jenkins & non local
author
Eileen
<eileen@fuzion.co.nz>
Fri, 3 Jan 2014 04:47:53 +0000
(17:47 +1300)
committer
Eileen
<eileen@fuzion.co.nz>
Fri, 3 Jan 2014 04:47:53 +0000
(17:47 +1300)
tests/phpunit/CRM/Contact/BAO/ContactTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/CRM/Contact/BAO/ContactTest.php
b/tests/phpunit/CRM/Contact/BAO/ContactTest.php
index 3398972bfff4663d396c2382d0f7daec0d499440..d4aa8b917f90ca6ef2c7186b157e3d97fdc16514 100644
(file)
--- a/
tests/phpunit/CRM/Contact/BAO/ContactTest.php
+++ b/
tests/phpunit/CRM/Contact/BAO/ContactTest.php
@@
-1530,7
+1530,7
@@
class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
$test = $this;
$this->_testTimestamps(array(
'INSERT' => function ($contactId) use ($test, $customGroup, $customField) {
- $result =
$this->callAPISuccess
('contact', 'create', array(
+ $result =
civicrm_api3
('contact', 'create', array(
'contact_id' => $contactId,
'custom_' . $customField['id'] => 'test-1',
));