feat: drop sqlite support
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m27s
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m27s
This commit is contained in:
parent
5e00060421
commit
da718427bd
27 changed files with 1296 additions and 115 deletions
9
internal/routes/main_test.go
Normal file
9
internal/routes/main_test.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package routes
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"git.juancwu.dev/juancwu/budgit/internal/testutil"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) { testutil.PostgresMain(m) }
|
||||
|
|
@ -16,7 +16,6 @@ import (
|
|||
|
||||
func newTestApp(dbi testutil.DBInfo) *app.App {
|
||||
cfg := testutil.TestConfig()
|
||||
cfg.DBDriver = dbi.Driver
|
||||
|
||||
userRepo := repository.NewUserRepository(dbi.DB)
|
||||
tokenRepo := repository.NewTokenRepository(dbi.DB)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue