fix test name in clientsecretrequest unit tests
Co-authored-by: Ryan Richard <richardry@vmware.com> Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me>
This commit is contained in:
parent
b49dcc7d45
commit
a7ca2cf2dd
@ -1181,7 +1181,7 @@ func TestCreate(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "happy path noop: do not create a new secret, revoke old secrets, but there is no existing storage secret",
|
name: "happy path noop: do not create a new secret, do not revoke old secrets, but there is no existing storage secret",
|
||||||
args: args{
|
args: args{
|
||||||
ctx: namespacedContext,
|
ctx: namespacedContext,
|
||||||
obj: &clientsecretapi.OIDCClientSecretRequest{
|
obj: &clientsecretapi.OIDCClientSecretRequest{
|
||||||
@ -1515,6 +1515,7 @@ func TestCreate(t *testing.T) {
|
|||||||
}
|
}
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
tt := tt
|
tt := tt
|
||||||
|
|
||||||
t.Run(tt.name, func(t *testing.T) {
|
t.Run(tt.name, func(t *testing.T) {
|
||||||
// t.Parallel() should not be used because we are mutating the global logger.
|
// t.Parallel() should not be used because we are mutating the global logger.
|
||||||
var log bytes.Buffer
|
var log bytes.Buffer
|
||||||
|
Loading…
Reference in New Issue
Block a user