Skip to content

Commit 6f8b47e

Browse files
committed
[#678] Added test to update case status
1 parent b8ff68d commit 6f8b47e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/tests_rest_cases.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,8 @@ def test_update_case_should_allow_to_update_state(self):
204204
identifier = self._subject.create_dummy_case()
205205
response = self._subject.update(f'/api/v2/cases/{identifier}', { 'state_id': 2 }).json()
206206
self.assertEqual(2, response['state']['state_id'])
207+
208+
def test_update_case_should_allow_to_update_status(self):
209+
identifier = self._subject.create_dummy_case()
210+
response = self._subject.update(f'/api/v2/cases/{identifier}', { 'status_id': 2 }).json()
211+
self.assertEqual(2, response['status_id'])

0 commit comments

Comments
 (0)