mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 07:54:22 +00:00
Run integration tests with both dbs
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user