fix(db): use separate DSN for both drivers

This commit is contained in:
sentriz
2025-12-05 17:52:29 +01:00
parent b67c1c14d2
commit 469649935e
13 changed files with 75 additions and 52 deletions

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ import (
jd "github.com/josephburnett/jd/lib"
"github.com/stretchr/testify/require"
_ "go.senan.xyz/gonic/deps"
"go.senan.xyz/gonic"
"go.senan.xyz/gonic/db"
"go.senan.xyz/gonic/mockfs"
@@ -3,8 +3,6 @@ package ctrlsubsonic
import (
"net/url"
"testing"
_ "github.com/jinzhu/gorm/dialects/sqlite"
)
func TestGetIndexes(t *testing.T) {