mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-10 06:55:35 -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 = {
|
update_payload = {
|
||||||
"id": unique_user.group_id,
|
"id": unique_user.group_id,
|
||||||
"name": "New Name",
|
"name": "New Name",
|
||||||
"preferences": {"privateGroup": random_bool()},
|
"preferences": {
|
||||||
|
"privateGroup": random_bool(),
|
||||||
|
"showAnnouncements": random_bool(),
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
response = api_client.put(
|
response = api_client.put(
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ def test_admin_update_household(api_client: TestClient, admin_user: TestUser, un
|
|||||||
"privateHousehold": random_bool(),
|
"privateHousehold": random_bool(),
|
||||||
"lockRecipeEditsFromOtherHouseholds": random_bool(),
|
"lockRecipeEditsFromOtherHouseholds": random_bool(),
|
||||||
"firstDayOfWeek": 2,
|
"firstDayOfWeek": 2,
|
||||||
|
"showAnnouncements": random_bool(),
|
||||||
"recipePublic": random_bool(),
|
"recipePublic": random_bool(),
|
||||||
"recipeShowNutrition": random_bool(),
|
"recipeShowNutrition": random_bool(),
|
||||||
"recipeShowAssets": random_bool(),
|
"recipeShowAssets": random_bool(),
|
||||||
|
|||||||
Reference in New Issue
Block a user