aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_password_reset.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_password_reset.py')
-rw-r--r--packages/meshbay-hub/tests/test_password_reset.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_password_reset.py b/packages/meshbay-hub/tests/test_password_reset.py
index b07f77c..f285c1d 100644
--- a/packages/meshbay-hub/tests/test_password_reset.py
+++ b/packages/meshbay-hub/tests/test_password_reset.py
@@ -159,7 +159,8 @@ async def test_reset_revokes_sessions_and_wipes_devices(client, db_session):
sk = Ed25519PrivateKey.generate()
dev = await client.post(
"/v1/users/devices",
- json={"pk_auth_ed25519": pk_to_b64(sk.public_key()), "label": "laptop"},
+ json={"pk_auth_ed25519": pk_to_b64(sk.public_key()), "label": "laptop",
+ "auth_key": "erin_test" + "a" * 40},
headers={"Authorization": f"Bearer {token}"})
assert dev.status_code == 201, dev.text