Fixing a failing test.

This commit is contained in:
Dan 2021-11-17 14:12:15 -05:00
parent 7b02f46403
commit b12e178288
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ class TestWorkflowService(BaseTest):
WorkflowService.process_options(task, task.task_spec.form.fields[0]) WorkflowService.process_options(task, task.task_spec.form.fields[0])
options = task.task_spec.form.fields[0].options options = task.task_spec.form.fields[0].options
self.assertEqual(29, len(options)) self.assertEqual(29, len(options))
self.assertEqual('0', options[0]['id']) self.assertEqual('0', options[0].id)
self.assertEqual("Other", options[0]['name']) self.assertEqual("Other", options[0].name)
def test_random_data_populate_form_on_auto_complete(self): def test_random_data_populate_form_on_auto_complete(self):
self.load_example_data() self.load_example_data()