fix tests

This commit is contained in:
Michael Genson
2026-04-08 22:31:44 +00:00
parent e5ca9c31fb
commit 2f2382128f
2 changed files with 5 additions and 1 deletions

View File

@@ -59,7 +59,10 @@ def test_admin_update_group(api_client: TestClient, admin_user: TestUser, unique
update_payload = {
"id": unique_user.group_id,
"name": "New Name",
"preferences": {"privateGroup": random_bool()},
"preferences": {
"privateGroup": random_bool(),
"showAnnouncements": random_bool(),
},
}
response = api_client.put(

View File

@@ -44,6 +44,7 @@ def test_admin_update_household(api_client: TestClient, admin_user: TestUser, un
"privateHousehold": random_bool(),
"lockRecipeEditsFromOtherHouseholds": random_bool(),
"firstDayOfWeek": 2,
"showAnnouncements": random_bool(),
"recipePublic": random_bool(),
"recipeShowNutrition": random_bool(),
"recipeShowAssets": random_bool(),