Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix tests
Roland Geider58ffecd45c33
diff --git a/wger/nutrition/tests/test_ingredient_overview.py b/wger/nutrition/tests/test_ingredient_overview.pyindex 1c4ece89d..d1a30d944 100644--- a/wger/nutrition/tests/test_ingredient_overview.py+++ b/wger/nutrition/tests/test_ingredient_overview.py@@ -86,10 +86,10 @@ class OverviewPlanTestCase(WorkoutManagerTestCase):# Only authorized users see the edit linksif logged_in and not demo:- self.assertContains(response, 'Add ingredient')+ self.assertNotContains(response, 'Only registered users can do this')if logged_in and demo:- self.assertNotContains(response, 'Add ingredient')+ self.assertContains(response, 'Only registered users can do this')def test_ingredient_index_editor(self):'''