Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix test for changes introduced in changeset bc2734796806
Roland Geiderbeb2dae579c6
diff --git a/wger/manager/tests/preferences.py b/wger/manager/tests/preferences.pyindex e3adbd759..86bd15aca 100644--- a/wger/manager/tests/preferences.py+++ b/wger/manager/tests/preferences.py@@ -111,7 +111,7 @@ class AjaxPreferencesTestCase(WorkoutManagerTestCase):profile = response.context['user'].get_profile()self.assertTrue(profile.show_comments)self.assertFalse(profile.show_english_ingredients)- self.assertEqual(response.context['user'].email, '')+ self.assertEqual(response.context['user'].email, '[email protected]')# Set the 'english ingredients' optionresponse = self.client.get(reverse('wger.manager.views.user.api_user_preferences'),@@ -130,7 +130,7 @@ class AjaxPreferencesTestCase(WorkoutManagerTestCase):profile = response.context['user'].get_profile()self.assertTrue(profile.show_comments)self.assertTrue(profile.show_english_ingredients)- self.assertEqual(response.context['user'].email, '')+ self.assertEqual(response.context['user'].email, '[email protected]')def test_preferences_anonymous(self):'''