Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix tests

Roland Geider3447b51fa772
diff --git a/wger/exercises/tests/test_sync.py b/wger/exercises/tests/test_sync.py
index 4591c1d7f..0ead61e82 100644
--- a/wger/exercises/tests/test_sync.py
+++ b/wger/exercises/tests/test_sync.py
@@ -396,7 +396,10 @@ class MockExerciseResponse:
"created": "2015-08-03",
"language": 1,
"aliases": [
- "Kettlebell mit zwei Händen"
+ {
+ "id": 1,
+ "alias": "Kettlebell mit zwei Händen"
+ }
],
"notes": [
{
@@ -498,8 +501,14 @@ class MockExerciseResponse:
"created": "2015-08-03",
"language": 1,
"aliases": [
- "A new alias here",
- "yet another name"
+ {
+ "id": 2,
+ "alias": "A new alias here"
+ },
+ {
+ "id": 500,
+ "alias": "yet another name"
+ },
],
"notes": [
{