Skip to content

Commit

Permalink
Fix data parameter in register API call
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Dec 7, 2023
1 parent 40c414c commit 0e3501b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_running.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def parse_csrf_token(text):

def create_user(name, email, password):
session = requests.Session()
response = session.post(f"{PROTO}://{HOST}/register", params=dict(name=name, email=email, password=password))
response = session.post(f"{PROTO}://{HOST}/register", data=dict(name=name, email=email, password=password))
assert response.status_code == 302, f"Expected status code 302, but got {response.status_code}"
return session

Expand Down

0 comments on commit 0e3501b

Please sign in to comment.