1
0
Fork 0
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:
Michael Genson 2024-08-22 10:14:32 -05:00 committed by GitHub
parent 0c29cef17d
commit eb170cc7e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
315 changed files with 6975 additions and 3577 deletions

View file

@ -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",