We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea8fc1 commit d2ed653Copy full SHA for d2ed653
1 file changed
server_test.go
@@ -256,6 +256,11 @@ func TestSecretsMongoUrls(t *testing.T) {
256
urls: []string{"mongodb://root@mongo:27017/admin?db=mydb&collection=mycoll"},
257
want: []string{},
258
},
259
+ {
260
+ name: "URL With Missing Password",
261
+ urls: []string{"mongodb://user:@localhost:27017/database"},
262
+ want: []string{},
263
+ },
264
}
265
266
for _, tt := range tests {
0 commit comments