Skip to content

Commit

Permalink
test: revert default db adapter in integration tests to mongodb (#10079)
Browse files Browse the repository at this point in the history
  • Loading branch information
r1tsuu authored Dec 19, 2024
1 parent 6a8aeca commit 034b442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jest.spyOn(nodemailer, 'createTestAccount').mockImplementation(() => {

if (!process.env.PAYLOAD_DATABASE) {
// Mutate env so we can use conditions by DB adapter in tests properly without ignoring // eslint no-jest-conditions.
process.env.PAYLOAD_DATABASE = 'sqlite-uuid'
process.env.PAYLOAD_DATABASE = 'mongodb'
}

generateDatabaseAdapter(process.env.PAYLOAD_DATABASE)

0 comments on commit 034b442

Please sign in to comment.