CRM-12984 looks like last commit affected these tests - change to test setup function
authoreileen <eileen@fuzion.co.nz>
Thu, 4 Jul 2013 08:23:47 +0000 (20:23 +1200)
committereileen <eileen@fuzion.co.nz>
Thu, 4 Jul 2013 08:23:47 +0000 (20:23 +1200)
tests/phpunit/api/v3/ParticipantTest.php

index df332aa45025224751a9083637470aa385de4b2a..a67ba326d2ed6d53d4e1d871f32b5a6caf151b4f 100644 (file)
@@ -67,10 +67,10 @@ class api_v3_ParticipantTest extends CiviUnitTestCase {
     $this->_createdParticipants = array();
     $this->_individualId = $this->individualCreate(NULL);
 
-    $this->_participantID = $this->participantCreate(array('contactID' => $this->_contactID, 'eventID' => $this->_eventID));
+    $this->_participantID = $this->participantCreate(array('contact_id' => $this->_contactID, 'event_id' => $this->_eventID));
     $this->_contactID2 = $this->individualCreate(NULL);
-    $this->_participantID2 = $this->participantCreate(array('contactID' => $this->_contactID2, 'eventID' => $this->_eventID, 'version' => $this->_apiversion));
-    $this->_participantID3 = $this->participantCreate(array('contactID' => $this->_contactID2, 'eventID' => $this->_eventID, 'version' => $this->_apiversion));
+    $this->_participantID2 = $this->participantCreate(array('contact_id' => $this->_contactID2, 'event_id' => $this->_eventID, 'version' => $this->_apiversion));
+    $this->_participantID3 = $this->participantCreate(array('contact_id' => $this->_contactID2, 'event_id' => $this->_eventID, 'version' => $this->_apiversion));
     $this->_params = array(
       'contact_id' => $this->_contactID,
       'event_id' => $this->_eventID,