mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 01:29:35 +02:00
fix acceptance tests for mongojs 1.x driver
This commit is contained in:
@@ -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) ->
|
||||
|
||||
Reference in New Issue
Block a user