From de35da8235fad9338ca0d20d1b8e90d138efba86 Mon Sep 17 00:00:00 2001 From: Darius Bakunas-Milanowski Date: Fri, 25 Oct 2024 10:38:36 -0400 Subject: [PATCH] refactor: minor test adjustment Signed-off-by: Darius Bakunas-Milanowski --- connector/oauth/oauth_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connector/oauth/oauth_test.go b/connector/oauth/oauth_test.go index 585b252c38..f1042ead2d 100644 --- a/connector/oauth/oauth_test.go +++ b/connector/oauth/oauth_test.go @@ -215,7 +215,7 @@ func TestHandleCallbackWithInsecureSkipEmailVerifiedWhenKeyFound(t *testing.T) { conn := newConnector(t, testServer.URL) conn.insecureSkipEmailVerified = true - req := newRequestWithAuthCode(t, testServer.URL, "TestHandleCallbackForNumericUserID") + req := newRequestWithAuthCode(t, testServer.URL, "TestHandleCallbackWithInsecureSkipEmailVerifiedWhenKeyFound") identity, err := conn.HandleCallback(connector.Scopes{Groups: true}, req) assert.Equal(t, err, nil) @@ -244,7 +244,7 @@ func TestHandleCallbackWithInsecureSkipEmailVerifiedWhenKeyNotFound(t *testing.T conn := newConnector(t, testServer.URL) conn.insecureSkipEmailVerified = true - req := newRequestWithAuthCode(t, testServer.URL, "TestHandleCallbackForNumericUserID") + req := newRequestWithAuthCode(t, testServer.URL, "TestHandleCallbackWithInsecureSkipEmailVerifiedWhenKeyNotFound") identity, err := conn.HandleCallback(connector.Scopes{Groups: true}, req) assert.Equal(t, err, nil)