Skip to content

Commit

Permalink
fix: Accept any 2xx for test case updates as valid
Browse files Browse the repository at this point in the history
  • Loading branch information
zeisss committed Mar 8, 2024
1 parent 6168814 commit b310469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/testcase.go
Original file line number Diff line number Diff line change
@@ -114,7 +114,7 @@ func (c *Client) TestCaseUpdate(testCaseUID string, fileName string, data io.Rea

defer close(response.Body)

if response.StatusCode != 200 {
if response.StatusCode >= 300 {
return false, string(body), nil
}

0 comments on commit b310469

Please sign in to comment.