Skip to content
Snippets Groups Projects
Commit b9871345 authored by pratik.joshi's avatar pratik.joshi
Browse files

Merge pull request #2761 from jitendrapurohit/SurveyTest_Fix

SurveyTest Fix
parents 0ef7efe2 9ce17194
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment