Skip to content

Commit

Permalink
adjusting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisDDBT committed Feb 20, 2025
1 parent 85c352f commit cd27abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions payroll/tests/services/test_payroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,11 @@ def update_notes_fail(self, db, client):
)
assert response.status_code == 400

def update_notes_fail(self, db, client):
def update_notes_faluty_json(self, db, client):
url = "http://localhost:8000/payroll/api/888813/2024/employees/notes"
response = client.post(
url,
data='some string',
content_type="application/json",
)
assert response.status_code == 500
assert response.status_code == 400

0 comments on commit cd27abd

Please sign in to comment.