Skip to content
Snippets Groups Projects
Commit c679daca authored by eileen's avatar eileen
Browse files

remove some references to debug from tests

parent fc334403
Branches
Tags
No related merge requests found
......@@ -154,7 +154,6 @@ class api_v3_CustomValueContactTypeTest extends CiviUnitTestCase {
'contact_type' => 'Organization',
"custom_{$this->IndividualField['id']}" => 'Test String',
'version' => $this->_apiversion,
'debug' => 1,
);
$contact = civicrm_api('contact', 'create', $params);
......@@ -206,7 +205,6 @@ class api_v3_CustomValueContactTypeTest extends CiviUnitTestCase {
'contact_type' => 'Organization',
"custom_{$this->IndiStudentField['id']}" => 'Test String',
'version' => $this->_apiversion,
'debug' => 1,
);
$contact = civicrm_api('contact', 'create', $params);
......@@ -246,7 +244,6 @@ class api_v3_CustomValueContactTypeTest extends CiviUnitTestCase {
'contact_type' => 'Individual',
"custom_{$this->IndiStudentField['id']}" => 'Test String',
'version' => $this->_apiversion,
'debug' => 1,
);
$contact = civicrm_api('contact', 'create', $params);
$this->assertTrue(is_array($contact['undefined_fields']), __LINE__);
......
......@@ -17,7 +17,6 @@ class api_v3_CustomValueTest extends CiviUnitTestCase {
$this->params = array(
'version' => $this->_apiversion,
'entity_id' => $this->individual,
'debug' => 1,
);
$this->ids['single'] = $this->entityCustomGroupWithSingleFieldCreate('mySingleField', 'Contacts');
$this->ids['multi'] = $this->CustomGroupMultipleCreateWithFields();
......
......@@ -411,7 +411,7 @@ class api_v3_SyntaxConformanceAllEntitiesTest extends CiviUnitTestCase {
// we'll fix this once beta1 is released
// return;
$result = civicrm_api($Entity, 'Get', array( 'debug' => 1, 'version' => 3, 'id' => $nonExistantID));
$result = civicrm_api($Entity, 'Get', array('version' => 3, 'id' => $nonExistantID));
if ($result['is_error']) {
// just to get a clearer message in the log
......@@ -720,7 +720,6 @@ class api_v3_SyntaxConformanceAllEntitiesTest extends CiviUnitTestCase {
'version' => 3,
'id' => $entity['id'],
$field => $entity[$field],
'debug' => 1,
);
$update = civicrm_api($entityName, 'create', $updateParams);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment