diff --git a/tests/phpunit/api/v3/SurveyTest.php b/tests/phpunit/api/v3/SurveyTest.php
index b751befff32613d05cb847236b9b42580faa2090..ec29b0750e13c8454b1f5233670d03d713c04269 100644
--- a/tests/phpunit/api/v3/SurveyTest.php
+++ b/tests/phpunit/api/v3/SurveyTest.php
@@ -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,