From d7920890d3fbbd7c3763285c6c5fcc5d97a89b74 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 16 May 2013 09:47:12 +1200 Subject: [PATCH] opps removed too much debug :-( --- tests/phpunit/api/v3/CustomValueContactTypeTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/phpunit/api/v3/CustomValueContactTypeTest.php b/tests/phpunit/api/v3/CustomValueContactTypeTest.php index 02f7b1b5b0..6784c247d5 100644 --- a/tests/phpunit/api/v3/CustomValueContactTypeTest.php +++ b/tests/phpunit/api/v3/CustomValueContactTypeTest.php @@ -154,6 +154,7 @@ class api_v3_CustomValueContactTypeTest extends CiviUnitTestCase { 'contact_type' => 'Organization', "custom_{$this->IndividualField['id']}" => 'Test String', 'version' => $this->_apiversion, + 'debug' => 1,// so that undefined_fields is returned ); $contact = civicrm_api('contact', 'create', $params); @@ -205,6 +206,7 @@ class api_v3_CustomValueContactTypeTest extends CiviUnitTestCase { 'contact_type' => 'Organization', "custom_{$this->IndiStudentField['id']}" => 'Test String', 'version' => $this->_apiversion, + 'debug' => 1,// so that undefined_fields is returned ); $contact = civicrm_api('contact', 'create', $params); @@ -244,6 +246,7 @@ class api_v3_CustomValueContactTypeTest extends CiviUnitTestCase { 'contact_type' => 'Individual', "custom_{$this->IndiStudentField['id']}" => 'Test String', 'version' => $this->_apiversion, + 'debug' => 1,// so that undefined_fields is returned ); $contact = civicrm_api('contact', 'create', $params); $this->assertTrue(is_array($contact['undefined_fields']), __LINE__); -- 2.25.1