fix 2fa and move communication language to setting
Build & Push / Pipeline Tests (push) Failing after 1m26s
Build & Push / Build & Push Docker Image (push) Has been skipped
Test / Type Check (all packages) (push) Successful in 50s
Test / API Unit Tests (push) Failing after 1m6s
Test / Homepage Unit Tests (push) Successful in 48s
Test / Carplace Unit Tests (push) Successful in 44s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Successful in 41s
Test / API Integration Tests (push) Successful in 1m6s

This commit is contained in:
root
2026-08-23 00:45:39 -04:00
parent c8d7a3954a
commit e3f80af47d
29 changed files with 890 additions and 255 deletions
@@ -89,10 +89,10 @@ describe('admin.service forgotPassword', () => {
isActive: true,
passwordHash: await bcrypt.hash('password123', 4),
totpEnabled: true,
totpSecret: 'JBSWY3DPEHPK3PXP',
totpSecret: null,
} as any)
await expect(login('admin@example.test', 'password123')).resolves.toEqual({ totpRequired: true })
await expect(login('admin@example.test', 'password123')).resolves.toEqual({ totpRequired: true, method: 'email' })
expect(sendTransactionalEmail).toHaveBeenCalledWith(
expect.objectContaining({
@@ -113,7 +113,7 @@ describe('admin.service forgotPassword', () => {
isActive: true,
passwordHash: await bcrypt.hash('password123', 4),
totpEnabled: true,
totpSecret: 'JBSWY3DPEHPK3PXP',
totpSecret: null,
} as any)
await login('admin3@example.test', 'password123')