Updated linters

This commit is contained in:
kvanzuijlen
2023-10-24 16:37:57 +02:00
parent 8d03adfd04
commit e13a5048eb
9 changed files with 18 additions and 22 deletions
+2 -3
View File
@@ -448,9 +448,8 @@ func (patTest *PassAccessTokenTest) getEndpointWithCookie(cookie string, endpoin
value = strings.TrimPrefix(field, keyPrefix)
if value != field {
break
} else {
value = ""
}
value = ""
}
if value == "" {
return 0, ""
@@ -612,7 +611,7 @@ func (sipTest *SignInPageTest) GetEndpoint(endpoint string) (int, string) {
type AlwaysSuccessfulValidator struct {
}
func (AlwaysSuccessfulValidator) Validate(user, password string) bool {
func (AlwaysSuccessfulValidator) Validate(_, _ string) bool {
return true
}