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)