mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 03:01:19 +00:00
fix acceptance tests for mongojs 1.x driver
This commit is contained in:
parent
6754bdca1c
commit
bad923e073
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ describe "Archiving updates", ->
|
|||
|
||||
after (done) ->
|
||||
MockWebApi.getUserInfo.restore()
|
||||
db.docHistory.remove {project_id: ObjectId(@project_id)}
|
||||
TrackChangesClient.removeS3Doc @project_id, @doc_id, done
|
||||
db.docHistory.remove {project_id: ObjectId(@project_id)}, () ->
|
||||
TrackChangesClient.removeS3Doc @project_id, @doc_id, done
|
||||
|
||||
describe "archiving a doc's updates", ->
|
||||
before (done) ->
|
||||
|
|
Loading…
Reference in a new issue