Add challenge select winner test for broken and winner flags of challenge tasks

This commit is contained in:
Kristian Tashkov
2016-01-28 22:01:39 +02:00
parent 6dce552140
commit c52064b3df
2 changed files with 27 additions and 2 deletions

View File

@@ -467,7 +467,7 @@ api.selectChallengeWinner = {
res.respond(200, {});
// Close channel in background
_closeChal(challenge, {broken: 'CHALLENGE_DELETED', winner});
_closeChal(challenge, {broken: 'CHALLENGE_CLOSED', winner});
},
};