mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-08 15:21:55 +00:00
Fix a test assertion in supervisor_oidcclientsecret_test.go
This commit is contained in:
@@ -173,7 +173,7 @@ func TestKubectlOIDCClientSecretRequest_Parallel(t *testing.T) {
|
||||
require.Empty(t, stdOutString)
|
||||
},
|
||||
assertOnStdErr: func(t *testing.T, oidcClientName, tempFileName, stdErrString string) {
|
||||
require.Contains(t, fmt.Sprintf("Error from server (NotFound): error when deleting \"%s\": the server could not find the requested resource\n", tempFileName), stdErrString)
|
||||
require.Contains(t, stdErrString, fmt.Sprintf("Error from server (NotFound): error when deleting \"%s\": the server could not find the requested resource\n", tempFileName))
|
||||
},
|
||||
wantErr: `exit status 1`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user