Skip to content
Snippets Groups Projects
Commit 9ce17194 authored by jitendrapurohit's avatar jitendrapurohit
Browse files

SurveyTest Fix

parent 0ef7efe2
Branches
Tags
No related merge requests found
......@@ -55,7 +55,8 @@ class api_v3_SurveyTest extends CiviUnitTestCase {
function setUp() {
$phoneBankActivityTypeID = $this->callAPISuccessGetValue('Option_value', array('label' => 'PhoneBank', 'return' => 'id'), 'integer');
$phoneBankActivityTypeID = $this->callAPISuccessGetValue('Option_value', array('label' => 'PhoneBank', 'return' => 'value'), 'integer');
$this->enableCiviCampaign();
$this->params = array(
'title' => "survey title",
'activity_type_id' => $phoneBankActivityTypeID,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment