Implement integration-test based on YNAB-Export #46

Merged
jacob1123 merged 24 commits from integration-test into master 2022-04-06 21:26:47 +02:00
Showing only changes of commit 95eb302d26 - Show all commits

View File

@ -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)