Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix test

Roland Geider412d7a17b78a
diff --git a/wger/exercises/tests/test_sync.py b/wger/exercises/tests/test_sync.py
index 0d05515df..9048e4831 100644
--- a/wger/exercises/tests/test_sync.py
+++ b/wger/exercises/tests/test_sync.py
@@ -724,7 +724,7 @@ class TestSyncMethods(WgerTestCase):
self.assertEqual(translation_de.alias_set.all()[0].alias, 'A new alias here')
self.assertEqual(translation_de.alias_set.all()[1].alias, 'yet another name')
- self.assertEqual(translation_de.exercisecomment_set.count(), 1)
+ self.assertEqual(translation_de.exercisecomment_set.count(), 2)
self.assertEqual(translation_de.exercisecomment_set.first().comment, 'Foobar')
translation_fr = exercise.get_translation('fr')