mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-10 20:35:14 -05:00
feat: Remove "Is Food" and "Disable Amounts" Flags (#5684)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
12
tests/fixtures/fixture_recipe.py
vendored
12
tests/fixtures/fixture_recipe.py
vendored
@@ -37,12 +37,12 @@ def recipe_ingredient_only(unique_user: TestUser):
|
||||
group_id=unique_user.group_id,
|
||||
name=random_string(10),
|
||||
recipe_ingredient=[
|
||||
RecipeIngredient(note="Ingredient 1"),
|
||||
RecipeIngredient(note="Ingredient 2"),
|
||||
RecipeIngredient(note="Ingredient 3"),
|
||||
RecipeIngredient(note="Ingredient 4"),
|
||||
RecipeIngredient(note="Ingredient 5"),
|
||||
RecipeIngredient(note="Ingredient 6"),
|
||||
RecipeIngredient(quantity=1, note="Ingredient 1"),
|
||||
RecipeIngredient(quantity=1, note="Ingredient 2"),
|
||||
RecipeIngredient(quantity=1, note="Ingredient 3"),
|
||||
RecipeIngredient(quantity=1, note="Ingredient 4"),
|
||||
RecipeIngredient(quantity=1, note="Ingredient 5"),
|
||||
RecipeIngredient(quantity=1, note="Ingredient 6"),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
1
tests/fixtures/fixture_shopping_lists.py
vendored
1
tests/fixtures/fixture_shopping_lists.py
vendored
@@ -12,7 +12,6 @@ def create_item(list_id: UUID4) -> dict:
|
||||
"shopping_list_id": str(list_id),
|
||||
"checked": False,
|
||||
"position": 0,
|
||||
"is_food": False,
|
||||
"note": random_string(10),
|
||||
"quantity": 1,
|
||||
"unit_id": None,
|
||||
|
||||
Reference in New Issue
Block a user