projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c250ca
)
api_v3_SurveyRespondantTest.php
author
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 20:03:35 +0000
(12:03 -0800)
committer
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 22:05:05 +0000
(14:05 -0800)
tests/phpunit/api/v3/SurveyRespondantTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/SurveyRespondantTest.php
b/tests/phpunit/api/v3/SurveyRespondantTest.php
index e922fcd857f7b96b1ceb104cbe20354a262bccfb..563cfa3d901b3f08d369080b8e4d810d5771987b 100644
(file)
--- a/
tests/phpunit/api/v3/SurveyRespondantTest.php
+++ b/
tests/phpunit/api/v3/SurveyRespondantTest.php
@@
-36,6
+36,8
@@
class api_v3_SurveyRespondantTest extends CiviUnitTestCase {
function setUp() {
+ parent::setUp();
+ $this->useTransaction(TRUE);
$phoneBankActivity = $this->callAPISuccess('Option_value', 'Get', array('label' => 'PhoneBank', 'sequential' => 1));
$phoneBankActivityTypeID = $phoneBankActivity['values'][0]['value'];
$surveyParams = array(
@@
-49,11
+51,6
@@
class api_v3_SurveyRespondantTest extends CiviUnitTestCase {
'sequential' =>'1',
'survey_id' => $surveyID
);
- parent::setUp();
- }
-
- function tearDown() {
- $this->quickCleanup(array('civicrm_survey'));
}
/**