We resolved a problem with a test with some changes to Spiff, change the correct so that it is correct.

This commit is contained in:
Kelly McDonald 2020-07-23 14:56:12 -04:00
parent 82410c8749
commit ce8d7cad16
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class TestTasksApi(BaseTest):
workflow_api = self.complete_form(workflow, workflow_api.next_task, data, user_uid=submitter.uid)
nav = workflow_api.navigation
self.assertEquals(5, len(nav))
self.assertEquals('COMPLETED', nav[0]['state']) # We still have some issues here, the navigation will be off when looping back.
self.assertEquals('READY', nav[0]['state']) # Issue resolved - KPM - was COMPLETED
self.assertEquals('LOCKED', nav[1]['state']) # Second item is locked, it is the review and doesn't belong to this user.
self.assertEquals('LOCKED', nav[2]['state']) # third item is a gateway belonging to the supervisor, and is locked.
self.assertEquals('READY', workflow_api.next_task.state)