Implement ynab import in test and use pgtx

This commit is contained in:
2022-04-05 16:11:11 +00:00
parent 4a66d9fdfc
commit 2d9c380cf4
2 changed files with 69 additions and 5 deletions

View File

@ -16,7 +16,7 @@ import (
)
func init() { //nolint:gochecknoinits
txdb.Register("pgtx", "pgx", "postgres://budgeteer_test:budgeteer_test@localhost:5432/budgeteer_test")
txdb.Register("pgtx", "pgx", "postgres://budgeteer:budgeteer@db:5432/budgeteer_test")
}
func TestRegisterUser(t *testing.T) { //nolint:funlen