Run integration tests with both dbs

This commit is contained in:
2025-03-06 21:39:56 +01:00
parent 629baa9952
commit f55d2644c3
7 changed files with 88 additions and 22 deletions

View File

@@ -19,7 +19,11 @@ import (
)
func TestAuthHandlers_Integration(t *testing.T) {
h := setupTestHarness(t)
runWithDatabases(t, testAuthHandlers)
}
func testAuthHandlers(t *testing.T, dbConfig DatabaseConfig) {
h := setupTestHarness(t, dbConfig)
defer h.teardown(t)
t.Run("login", func(t *testing.T) {