mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 23:44:22 +00:00
Run integration tests with both dbs
This commit is contained in:
@@ -15,7 +15,11 @@ import (
|
||||
)
|
||||
|
||||
func TestWorkspaceHandlers_Integration(t *testing.T) {
|
||||
h := setupTestHarness(t)
|
||||
runWithDatabases(t, testWorkspaceHandlers)
|
||||
}
|
||||
|
||||
func testWorkspaceHandlers(t *testing.T, dbConfig DatabaseConfig) {
|
||||
h := setupTestHarness(t, dbConfig)
|
||||
defer h.teardown(t)
|
||||
|
||||
t.Run("list workspaces", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user