From: Greg Burri Date: Wed, 12 Feb 2025 01:07:10 +0000 (+0100) Subject: Adapt tests to new interface X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=3a3288bc93e9b756e5b72aa3931e9ad6ec8c10d6;p=recipes.git Adapt tests to new interface --- diff --git a/backend/src/data/db/recipe.rs b/backend/src/data/db/recipe.rs index 0e07673..ee27553 100644 --- a/backend/src/data/db/recipe.rs +++ b/backend/src/data/db/recipe.rs @@ -1112,13 +1112,13 @@ VALUES }; connection - .rm_scheduled_recipe(user_id, recipe_id_1, today) + .rm_scheduled_recipe(user_id, recipe_id_1, today, false) .await?; connection - .rm_scheduled_recipe(user_id, recipe_id_2, yesterday) + .rm_scheduled_recipe(user_id, recipe_id_2, yesterday, false) .await?; connection - .rm_scheduled_recipe(user_id, recipe_id_1, tomorrow) + .rm_scheduled_recipe(user_id, recipe_id_1, tomorrow, false) .await?; assert_eq!(