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 1d430bf commit 7136870Copy full SHA for 7136870
1 file changed
test/e2e/framework/backend.go
@@ -42,9 +42,7 @@ import (
42
43
func StartBackend(t *testing.T, clientConfig *rest.Config, args ...string) (net.Addr, *backend.Server) {
44
signingKey := securecookie.GenerateRandomKey(32)
45
- if len(signingKey) == 0 {
46
- panic("error creating signing key")
47
- }
+ require.NotEmpty(t, signingKey, "error creating signing key")
48
49
return StartBackendWithoutDefaultArgs(t, clientConfig, append([]string{
50
"--oidc-issuer-client-secret=ZXhhbXBsZS1hcHAtc2VjcmV0",
0 commit comments