mirror of
https://github.com/lordmathis/lemma.git
synced 2025-12-23 01:54:28 +00:00
Run integration tests with both dbs
This commit is contained in:
@@ -18,7 +18,11 @@ import (
|
||||
)
|
||||
|
||||
func TestFileHandlers_Integration(t *testing.T) {
|
||||
h := setupTestHarness(t)
|
||||
runWithDatabases(t, testFileHandlers)
|
||||
}
|
||||
|
||||
func testFileHandlers(t *testing.T, dbConfig DatabaseConfig) {
|
||||
h := setupTestHarness(t, dbConfig)
|
||||
defer h.teardown(t)
|
||||
|
||||
t.Run("file operations", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user