mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-02 11:58:10 -05:00
Update subscription server tests to use async.series
This commit is contained in:
parent
928f72e2cf
commit
1f08867f79
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ describe 'Subscriptions', ->
|
||||||
unless invoice.id of invoicesWebHooked
|
unless invoice.id of invoicesWebHooked
|
||||||
invoicesWebHooked[invoice.id] = true
|
invoicesWebHooked[invoice.id] = true
|
||||||
webhookTasks.push makeWebhookCall(invoice)
|
webhookTasks.push makeWebhookCall(invoice)
|
||||||
async.parallel webhookTasks, (err, results) ->
|
async.series webhookTasks, (err, results) ->
|
||||||
expect(err?).toEqual(false)
|
expect(err?).toEqual(false)
|
||||||
done(updatedUser)
|
done(updatedUser)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue