From 7aa01ba7bec28a03d8aa0c6ad514ba4b0fe90c55 Mon Sep 17 00:00:00 2001 From: Eileen Date: Fri, 3 Jan 2014 17:47:53 +1300 Subject: [PATCH] api-tests fix api call that errored on jenkins & non local --- tests/phpunit/CRM/Contact/BAO/ContactTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Contact/BAO/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactTest.php index 3398972bff..d4aa8b917f 100644 --- 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', )); -- 2.25.1