mirror of
https://github.com/miniflux/v2.git
synced 2025-09-30 19:22:11 +00:00
feat: multi db support
This commit is contained in:
parent
10b2b36895
commit
fe6c000897
25 changed files with 2612 additions and 1433 deletions
|
@ -348,7 +348,7 @@ func TestDatabaseMinConnsOptionParsing(t *testing.T) {
|
|||
func TestDatabaseURLOptionParsing(t *testing.T) {
|
||||
configParser := NewConfigParser()
|
||||
|
||||
if configParser.options.DatabaseURL() != "user=postgres password=postgres dbname=miniflux2 sslmode=disable" {
|
||||
if configParser.options.DatabaseURL() != "postgres://postgres:postgres/postgres?sslmode=disable" {
|
||||
t.Fatal("Expected DATABASE_URL to have default value")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue