1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00

updated models/services/tests to include user_id

This commit is contained in:
Michael Genson 2024-02-23 17:02:32 +00:00
parent 74d6f58363
commit 0bf3aed287
7 changed files with 19 additions and 12 deletions

View file

@ -758,7 +758,7 @@ def test_pagination_order_by_nulls(
def test_pagination_shopping_list_items_with_labels(database: AllRepositories, unique_user: TestUser):
# create a shopping list and populate it with some items with labels, and some without labels
shopping_list = database.group_shopping_lists.create(
ShoppingListSave(name=random_string(), group_id=unique_user.group_id)
ShoppingListSave(name=random_string(), group_id=unique_user.group_id, user_id=unique_user.user_id)
)
labels = database.group_multi_purpose_labels.create_many(