add update challenge with tests

This commit is contained in:
Matteo Pagliazzi
2016-01-27 12:22:24 +01:00
parent f225843cf6
commit f16b605c37
6 changed files with 130 additions and 8 deletions

View File

@@ -50,6 +50,7 @@
"winnerIdRequired": "\"winnerId\" must be a valid UUID.",
"challengeNotFound": "Challenge not found.",
"onlyLeaderDeleteChal": "Only the challenge leader can delete it.",
"onlyLeaderUpdateChal": "Only the challenge leader can update it.",
"winnerNotFound": "Winner with id \"<%= userId %>\" not found or not part of the challenge.",
"noCompletedTodosChallenge": "\"includeComepletedTodos\" is not supported when fetching a challenge tasks.",
"userTasksNoChallengeId": "When \"tasksOwner\" is \"user\" \"challengeId\" can't be passed.",