mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
Run integration tests with both dbs
This commit is contained in:
@@ -15,7 +15,11 @@ import (
|
||||
)
|
||||
|
||||
func TestUserHandlers_Integration(t *testing.T) {
|
||||
h := setupTestHarness(t)
|
||||
runWithDatabases(t, testUserHandlers)
|
||||
}
|
||||
|
||||
func testUserHandlers(t *testing.T, dbConfig DatabaseConfig) {
|
||||
h := setupTestHarness(t, dbConfig)
|
||||
defer h.teardown(t)
|
||||
|
||||
currentEmail := h.RegularTestUser.userModel.Email
|
||||
|
||||
Reference in New Issue
Block a user