mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-09 22:45:36 -04:00
fix tests
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user