Skip to content

Commit

Permalink
Merge pull request #19 from jay-2597/main
Browse files Browse the repository at this point in the history
Fix #19 Change method in update_test_result to PUT
  • Loading branch information
nassauwinter authored Apr 15, 2024
2 parents 1f925e2 + 4532d83 commit eb725a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zephyr/scale/server/endpoints/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def update_test_result(self, test_run_key, test_case_key, **json):
Updates the last Test Result on the specified Test Run, looking for an item that matches
the testCaseKey and the query string filter parameters. Only defined fields will be updated.
"""
return self.session.post(Paths.RUN_TEST_RESULT.format(test_run_key, test_case_key),
return self.session.put(Paths.RUN_TEST_RESULT.format(test_run_key, test_case_key),
json=json)

def get_test_results(self, test_run_key):
Expand Down

0 comments on commit eb725a7

Please sign in to comment.