Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix test

Roland Geiderd77a0ee268dd
diff --git a/wger/core/tests/test_repetition_unit.py b/wger/core/tests/test_repetition_unit.py
index d8649e529..88aee72b3 100644
--- a/wger/core/tests/test_repetition_unit.py
+++ b/wger/core/tests/test_repetition_unit.py
@@ -80,7 +80,7 @@ class AddTestCase(WgerAddTestCase):
object_class = RepetitionUnit
url = 'core:repetition-unit:add'
- data = {'name': 'Furlongs'}
+ data = {'name': 'Furlongs', 'unit_type': RepetitionUnit.UNIT_TYPE_DISTANCE, 'multiplier': 201}
user_success = ('admin',)
user_fail = (
'general_manager1',