Skip to content

armgit / wger

Public Imported from GitHub
0

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.py
index 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' option
response = 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):
'''