Add SMTP credentials for tests and enhance user role handling in CMS and Galerie endpoints
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 3m43s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 3m43s
This commit is contained in:
@@ -63,6 +63,9 @@ import statusHandler from '../server/api/auth/status.get.js'
|
||||
|
||||
describe('Auth API Endpoints', () => {
|
||||
beforeEach(() => {
|
||||
// Setze SMTP-Credentials für Tests
|
||||
process.env.SMTP_USER = 'test@example.com'
|
||||
process.env.SMTP_PASS = 'test-password'
|
||||
vi.clearAllMocks()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user