Skip to content

Commit 4d99c60

Browse files
committed
update help test assert
1 parent fd6551f commit 4d99c60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/core-api/tests/users/models/test_user.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ def test_user_create_or_update_user_update_existing_user(db_session):
5454

5555
# Update the existing user's data
5656
updated_data = {
57-
"sub": "update-test-sub", # Same `sub` to trigger an update
57+
"sub": user.sub,
5858
"email": "[email protected]",
5959
"given_name": "Updated",
6060
"family_name": "Name",
61+
"idir_username": "testuser",
6162
"display_name": "Updated Name",
6263
}
6364

0 commit comments

Comments
 (0)