From 3527d61655d4510d9cc7ba4cc68e1aff5c6575e9 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Mon, 30 Mar 2026 23:16:15 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20test=20fixture=20=E2=80=94=20add=20prote?= =?UTF-8?q?in=5Fdelta=20to=20substitution=5Fpairs=20inserts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/services/recipe/test_substitution_engine.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/services/recipe/test_substitution_engine.py b/tests/services/recipe/test_substitution_engine.py index e4c937d..1a859bb 100644 --- a/tests/services/recipe/test_substitution_engine.py +++ b/tests/services/recipe/test_substitution_engine.py @@ -7,15 +7,15 @@ def store_with_subs(store_with_profiles): store_with_profiles.conn.execute(""" INSERT INTO substitution_pairs (original_name, substitute_name, constraint_label, - fat_delta, moisture_delta, glutamate_delta, occurrence_count) - VALUES (?,?,?,?,?,?,?) - """, ("butter", "coconut oil", "vegan", -1.0, 0.0, 0.0, 15)) + fat_delta, moisture_delta, glutamate_delta, protein_delta, occurrence_count) + VALUES (?,?,?,?,?,?,?,?) + """, ("butter", "coconut oil", "vegan", -1.0, 0.0, 0.0, 0.0, 15)) store_with_profiles.conn.execute(""" INSERT INTO substitution_pairs (original_name, substitute_name, constraint_label, - fat_delta, moisture_delta, glutamate_delta, occurrence_count) - VALUES (?,?,?,?,?,?,?) - """, ("ground beef", "lentils", "vegan", -15.0, 10.0, -2.0, 45)) + fat_delta, moisture_delta, glutamate_delta, protein_delta, occurrence_count) + VALUES (?,?,?,?,?,?,?,?) + """, ("ground beef", "lentils", "vegan", -15.0, 10.0, -2.0, 5.0, 45)) store_with_profiles.conn.commit() return store_with_profiles