Merge pull request #3277 from overleaf/revert-3257-jpa-mongoose-latest
Revert "[misc] upgrade mongoose to the latest version" GitOrigin-RevId: d5957fca68be65a08a687476742ffbb9c3cb86e8
This commit is contained in:
committed by
Copybot
parent
dba5127856
commit
c257b9695a
@@ -1107,7 +1107,7 @@ describe('ProjectStructureChanges', function() {
|
||||
|
||||
describe('when rootDoc_id matches doc being deleted', function() {
|
||||
beforeEach(function(done) {
|
||||
Project.updateOne(
|
||||
Project.update(
|
||||
{ _id: this.exampleProjectId },
|
||||
{ $set: { rootDoc_id: this.exampleDocId } },
|
||||
done
|
||||
@@ -1139,7 +1139,7 @@ describe('ProjectStructureChanges', function() {
|
||||
describe('when rootDoc_id does not match doc being deleted', function() {
|
||||
beforeEach(function(done) {
|
||||
this.exampleRootDocId = new ObjectId()
|
||||
Project.updateOne(
|
||||
Project.update(
|
||||
{ _id: this.exampleProjectId },
|
||||
{ $set: { rootDoc_id: this.exampleRootDocId } },
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user