Merge pull request #15318 from overleaf/csh-issue-11625-mongoug-5-object-persistor

Upgrade mongodb for object-persistor from 3.5.9 to 6.1.0

GitOrigin-RevId: e6b97ae93092a77c46f043979dd9eb5caf234866
This commit is contained in:
Christopher Hoskin
2023-10-19 08:03:19 +00:00
committed by Copybot
parent 01315b9291
commit 6d86e14b05
3 changed files with 105 additions and 4 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
"chai-as-promised": "^7.1.1",
"mocha": "^10.2.0",
"mock-fs": "^5.2.0",
"mongodb": "^3.5.9",
"mongodb": "^6.1.0",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4",
"sinon-chai": "^3.7.0"
@@ -552,7 +552,7 @@ describe('GcsPersistorTests', function () {
})
describe('deleteDirectory', function () {
const directoryName = `${ObjectId()}/${ObjectId()}`
const directoryName = `${new ObjectId()}/${new ObjectId()}`
const directoryPrefix = `${directoryName}/`
describe('with valid parameters', function () {
beforeEach(async function () {