Implement integration-test based on YNAB-Export #46
@ -25,6 +25,10 @@ func TestMain(t *testing.T) {
|
||||
SessionSecret: "random string for JWT authorization",
|
||||
}
|
||||
|
||||
_, err := postgres.Connect("pgx", cfg.DatabaseConnection)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed connecting to DB: %v", err)
|
||||
}
|
||||
queries, err := postgres.Connect("pgtx", cfg.DatabaseConnection)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed connecting to DB: %v", err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user