Skip to content

Commit 8a7a7ac

Browse files
committed
[Exchange Oracle] Fix test_cannot_register_400_with_duplicated_address
1 parent 2e64f89 commit 8a7a7ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/examples/cvat/exchange-oracle/tests/api/test_exchange_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,9 @@ def test_cannot_register_400_with_duplicated_address(client: TestClient, session
608608

609609
response = client.post(
610610
"/register",
611-
headers=get_auth_header(generate_jwt_token(email=new_cvat_email)),
611+
headers=get_auth_header(
612+
generate_jwt_token(wallet_address=user_address, email=new_cvat_email)
613+
),
612614
)
613615
assert response.status_code == 400
614616
assert response.json() == {"message": "User already exists"}

0 commit comments

Comments
 (0)