mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-11 00:15:24 +02: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:
parent
efc0d31724
commit
245ca5fe3b
49 changed files with 173 additions and 364 deletions
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue