mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
feat: Add Households to Mealie (#3970)
This commit is contained in:
parent
0c29cef17d
commit
eb170cc7e5
315 changed files with 6975 additions and 3577 deletions
|
@ -32,7 +32,7 @@ def test_init_superuser(api_client: TestClient, admin_user: TestUser):
|
|||
|
||||
admin_data = response.json()
|
||||
|
||||
assert admin_data["id"] == admin_user.user_id
|
||||
assert admin_data["id"] == str(admin_user.user_id)
|
||||
assert admin_data["groupId"] == admin_user.group_id
|
||||
|
||||
assert admin_data["fullName"] == "Change Me"
|
||||
|
@ -93,7 +93,7 @@ def test_update_other_user_as_not_admin(api_client: TestClient, unique_user: Tes
|
|||
settings = get_app_settings()
|
||||
|
||||
update_data = {
|
||||
"id": unique_user.user_id,
|
||||
"id": str(unique_user.user_id),
|
||||
"fullName": "Updated Name",
|
||||
"email": settings._DEFAULT_EMAIL,
|
||||
"group": "Home",
|
||||
|
@ -122,7 +122,7 @@ def test_self_demote_admin(api_client: TestClient, admin_user: TestUser):
|
|||
|
||||
def test_self_promote_admin(api_client: TestClient, unique_user: TestUser):
|
||||
update_data = {
|
||||
"id": unique_user.user_id,
|
||||
"id": str(unique_user.user_id),
|
||||
"fullName": "Updated Name",
|
||||
"email": "user@example.com",
|
||||
"group": "Home",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue