test: revert default db adapter in integration tests to mongodb (#10079)

This commit is contained in:
Sasha
2024-12-19 20:20:28 +02:00
committed by GitHub
parent 6a8aecadf8
commit 034b442699

View File

@@ -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)