summaryrefslogtreecommitdiff
path: root/addons/survey/tests/test_certification_flow.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/survey/tests/test_certification_flow.py')
-rw-r--r--addons/survey/tests/test_certification_flow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/survey/tests/test_certification_flow.py b/addons/survey/tests/test_certification_flow.py
index e596e34fa7d..b1db33ec215 100644
--- a/addons/survey/tests/test_certification_flow.py
+++ b/addons/survey/tests/test_certification_flow.py
@@ -51,7 +51,7 @@ class TestCertificationFlow(common.SurveyCase, HttpCase):
'certification_mail_template_id': self.env.ref('survey.mail_template_certification').id,
'is_time_limited': True,
'time_limit': 10,
- 'stage_id': self.env['survey.stage'].search([('closed', '=', False)]).id
+ 'state': 'open',
})
q01 = self._add_question(