We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d37922 commit 5c58a1bCopy full SHA for 5c58a1b
tests/tests_rest_cases.py
@@ -204,3 +204,8 @@ def test_update_case_should_allow_to_update_state(self):
204
identifier = self._subject.create_dummy_case()
205
response = self._subject.update(f'/api/v2/cases/{identifier}', { 'state_id': 2 }).json()
206
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