Merge pull request #3658 from overleaf/jpa-change-write-path-file-deletion

[ProjectEntityMongoUpdateHandler] track deleted files in own collection

GitOrigin-RevId: 7dff10a4737626a2d02b93b346e7e02a9d9a8608
This commit is contained in:
Jakob Ackermann
2021-02-17 11:40:56 +00:00
committed by Copybot
parent da641ba039
commit ab87ed51b9
6 changed files with 59 additions and 48 deletions
@@ -2006,7 +2006,7 @@ describe('ProjectEntityUpdateHandler', function() {
)
})
it('should insert the file into the deletedFiles array', function() {
it('should insert the file into the deletedFiles collection', function() {
this.ProjectEntityMongoUpdateHandler._insertDeletedFileReference
.calledWith(this.project._id, this.entity)
.should.equal(true)