File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,12 @@ def test_update_case_should_not_fail(self):
184184 response = self ._subject .update (f'/api/v2/cases/{ identifier } ' , { 'case_name' : 'new name' })
185185 self .assertEqual (200 , response .status_code )
186186
187- def test_update_case_should_update_severity (self ):
187+ def test_update_case_should_allow_to_update_severity (self ):
188188 identifier = self ._subject .create_dummy_case ()
189189 response = self ._subject .update (f'/api/v2/cases/{ identifier } ' , { 'severity_id' : 5 }).json ()
190190 self .assertEqual (5 , response ['severity_id' ])
191+
192+ def test_update_case_should_allow_to_update_classification (self ):
193+ identifier = self ._subject .create_dummy_case ()
194+ response = self ._subject .update (f'/api/v2/cases/{ identifier } ' , { 'classification_id' : 3 }).json ()
195+ self .assertEqual (3 , response ['classification_id' ])
You can’t perform that action at this time.
0 commit comments