Skip to content

Commit

Permalink
fix: update mongodb binary version to 6 (#8032)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenLSM authored Jan 7, 2025
1 parent 00de8e1 commit a202c57
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 38 deletions.
2 changes: 1 addition & 1 deletion __tests__/setup/.test-env
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ PAYMENT_PROOF_S3_BUCKET=local-payment-proof-bucket
NODE_ENV=test
FORMSG_SDK_MODE=test

MONGO_BINARY_VERSION=4.0.22
MONGO_BINARY_VERSION=6.0.19
MOCK_WEBHOOK_CONFIG_FILE=webhook-server-config.csv
MOCK_WEBHOOK_PORT=4000

Expand Down
2 changes: 1 addition & 1 deletion __tests__/setup/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class MemoryDatabaseServer {
constructor() {
this.mongod = new MongoMemoryServer({
binary: {
version: process.env.MONGO_BINARY_VERSION || '4.0.22',
version: process.env.MONGO_BINARY_VERSION || '6.0.19',
checkMD5: true,
},
instance: {},
Expand Down
97 changes: 62 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"libphonenumber-js": "^1.10.59",
"lodash": "^4.17.21",
"moment-timezone": "0.5.41",
"mongodb-memory-server-core": "^9.1.7",
"mongodb-memory-server-core": "^9.5.0",
"mongodb-uri": "^0.9.7",
"mongoose": "^6.12.0",
"multer": "^1.4.5-lts.1",
Expand Down

0 comments on commit a202c57

Please sign in to comment.