From 034b4426990f26e6d70fe44d3ecdae2f8f837ef6 Mon Sep 17 00:00:00 2001 From: Sasha <64744993+r1tsuu@users.noreply.github.com> Date: Thu, 19 Dec 2024 20:20:28 +0200 Subject: [PATCH] test: revert default db adapter in integration tests to mongodb (#10079) --- test/jest.setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jest.setup.js b/test/jest.setup.js index 83d33b69943..1b5d4da0f0d 100644 --- a/test/jest.setup.js +++ b/test/jest.setup.js @@ -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)