Adapt tests to new interface
authorGreg Burri <greg.burri@gmail.com>
Wed, 12 Feb 2025 01:07:10 +0000 (02:07 +0100)
committerGreg Burri <greg.burri@gmail.com>
Wed, 12 Feb 2025 01:07:10 +0000 (02:07 +0100)
backend/src/data/db/recipe.rs

index 0e07673..ee27553 100644 (file)
@@ -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!(