From 9fbee5b6a3eed767a119698e186ebdeff15811d0 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 4 Jul 2013 20:23:47 +1200 Subject: [PATCH] CRM-12984 looks like last commit affected these tests - change to test setup function --- tests/phpunit/api/v3/ParticipantTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/api/v3/ParticipantTest.php b/tests/phpunit/api/v3/ParticipantTest.php index df332aa450..a67ba326d2 100644 --- a/tests/phpunit/api/v3/ParticipantTest.php +++ b/tests/phpunit/api/v3/ParticipantTest.php @@ -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, -- 2.25.1