Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix test, the ingredient overview is now cached

Roland Geiderbcb21538a02c
diff --git a/wger/nutrition/tests/test_ingredient.py b/wger/nutrition/tests/test_ingredient.py
index 0122dc94f..cff1950d3 100644
--- a/wger/nutrition/tests/test_ingredient.py
+++ b/wger/nutrition/tests/test_ingredient.py
@@ -437,4 +437,5 @@ class IngredientApiTestCase(api_base_test.ApiBaseResourceTestCase):
pk = 4
resource = Ingredient
private_resource = False
+ overview_cached = True
data = {'language': 1, 'license': 2}