@@ -305,19 +305,19 @@ func TestAdapters(t *testing.T) {
305305 // testSaveLoad(t, "mysql", "root:@tcp(127.0.0.1:3306)/abc", true)
306306
307307 testSaveLoad (t , "mysql" , "root:@tcp(127.0.0.1:3306)/" )
308- testSaveLoad (t , "postgres" , "user=postgres host=127.0.0.1 port=5432 sslmode=disable" )
308+ testSaveLoad (t , "postgres" , "user=postgres password=postgres host=127.0.0.1 port=5432 sslmode=disable" )
309309
310310 testAutoSave (t , "mysql" , "root:@tcp(127.0.0.1:3306)/" )
311- testAutoSave (t , "postgres" , "user=postgres host=127.0.0.1 port=5432 sslmode=disable" )
311+ testAutoSave (t , "postgres" , "user=postgres password=postgres host=127.0.0.1 port=5432 sslmode=disable" )
312312
313313 testFilteredPolicy (t , "mysql" , "root:@tcp(127.0.0.1:3306)/" )
314314
315315 testAddPolicies (t , "mysql" , "root:@tcp(127.0.0.1:3306)/" )
316- testAddPolicies (t , "postgres" , "user=postgres host=127.0.0.1 port=5432 sslmode=disable" )
316+ testAddPolicies (t , "postgres" , "user=postgres password=postgres host=127.0.0.1 port=5432 sslmode=disable" )
317317
318318 testRemovePolicies (t , "mysql" , "root:@tcp(127.0.0.1:3306)/" )
319- testRemovePolicies (t , "postgres" , "user=postgres host=127.0.0.1 port=5432 sslmode=disable" )
319+ testRemovePolicies (t , "postgres" , "user=postgres password=postgres host=127.0.0.1 port=5432 sslmode=disable" )
320320
321321 testUpdatePolicies (t , "mysql" , "root:@tcp(127.0.0.1:3306)/" )
322- testUpdatePolicies (t , "postgres" , "user=postgres host=127.0.0.1 port=5432 sslmode=disable" )
322+ testUpdatePolicies (t , "postgres" , "user=postgres password=postgres host=127.0.0.1 port=5432 sslmode=disable" )
323323}
0 commit comments