From a7ca2cf2dd42e7febfde90e00748568475d5ca03 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Petersen" Date: Wed, 21 Sep 2022 11:15:22 -0400 Subject: [PATCH] fix test name in clientsecretrequest unit tests Co-authored-by: Ryan Richard Co-authored-by: Benjamin A. Petersen --- internal/registry/clientsecretrequest/rest_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/registry/clientsecretrequest/rest_test.go b/internal/registry/clientsecretrequest/rest_test.go index b5f8a6bf..3798728c 100644 --- a/internal/registry/clientsecretrequest/rest_test.go +++ b/internal/registry/clientsecretrequest/rest_test.go @@ -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{ ctx: namespacedContext, obj: &clientsecretapi.OIDCClientSecretRequest{ @@ -1515,6 +1515,7 @@ func TestCreate(t *testing.T) { } for _, tt := range tests { tt := tt + t.Run(tt.name, func(t *testing.T) { // t.Parallel() should not be used because we are mutating the global logger. var log bytes.Buffer