adapt create challenge tests to population

This commit is contained in:
Matteo Pagliazzi
2016-02-02 22:09:35 +01:00
parent 9af2282c36
commit a8dc529449
2 changed files with 36 additions and 23 deletions

View File

@@ -107,7 +107,7 @@ api.createChallenge = {
};
await savedChal.syncToUser(user); // (it also saves the user)
res.respond(201, savedChal);
res.respond(201, response);
},
};