simplify usage of auth.Validate (#557)

This commit is contained in:
Alessandro Ros
2024-05-03 22:42:50 +02:00
committed by GitHub
parent 1d60608b6b
commit 3f62e11795
6 changed files with 36 additions and 30 deletions

View File

@@ -30,7 +30,6 @@ func FuzzValidate(f *testing.F) {
"myuser",
"mypass",
nil,
nil,
"IPCAM",
"abcde",
)
@@ -48,7 +47,6 @@ func TestValidateAdditionalErrors(t *testing.T) {
},
"myuser",
"mypass",
nil,
[]headers.AuthMethod{headers.AuthDigestMD5},
"IPCAM",
"abcde",