Fixed more tests #864
Annotations
10 errors and 1 warning
build:
internal/webserver/api/Api_test.go#L38
cannot use NewKey(true) (value of type models.ApiKey) as string value in assignment
|
build:
internal/webserver/api/Api_test.go#L38
not enough arguments in call to NewKey
|
build:
internal/webserver/api/Api_test.go#L44
cannot use NewKey(false) (value of type models.ApiKey) as string value in assignment
|
build:
internal/webserver/api/Api_test.go#L44
not enough arguments in call to NewKey
|
build:
internal/webserver/api/Api_test.go#L63
multiple-value IsValidApiKey("", false, models.ApiPermNone) (value of type (models.User, bool)) in single-value context
|
build:
internal/webserver/api/Api_test.go#L64
multiple-value IsValidApiKey("invalid", false, models.ApiPermNone) (value of type (models.User, bool)) in single-value context
|
build:
internal/webserver/api/Api_test.go#L65
multiple-value IsValidApiKey("validkey", false, models.ApiPermNone) (value of type (models.User, bool)) in single-value context
|
build:
internal/webserver/api/Api_test.go#L69
multiple-value IsValidApiKey("validkey", true, models.ApiPermNone) (value of type (models.User, bool)) in single-value context
|
build:
internal/webserver/api/Api_test.go#L74
not enough arguments in call to NewKey
|
build:
internal/webserver/api/Api_test.go#L75
cannot use newApiKey (variable of type models.ApiKey) as string value in argument to IsValidApiKey
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|