Fix nil function deference in an integration test from previous commit

This commit is contained in:
Ryan Richard 2021-05-28 17:06:01 -07:00
parent e4fda80fcc
commit 79e3980f1f

View File

@ -50,6 +50,9 @@ func TestSupervisorLogin(t *testing.T) {
}{ }{
{ {
name: "oidc with default username and groups claim settings", name: "oidc with default username and groups claim settings",
maybeSkip: func(t *testing.T) {
// never need to skip this test
},
createIDP: func(t *testing.T) { createIDP: func(t *testing.T) {
t.Helper() t.Helper()
library.CreateTestOIDCIdentityProvider(t, idpv1alpha1.OIDCIdentityProviderSpec{ library.CreateTestOIDCIdentityProvider(t, idpv1alpha1.OIDCIdentityProviderSpec{
@ -70,6 +73,9 @@ func TestSupervisorLogin(t *testing.T) {
}, },
{ {
name: "oidc with custom username and groups claim settings", name: "oidc with custom username and groups claim settings",
maybeSkip: func(t *testing.T) {
// never need to skip this test
},
createIDP: func(t *testing.T) { createIDP: func(t *testing.T) {
t.Helper() t.Helper()
library.CreateTestOIDCIdentityProvider(t, idpv1alpha1.OIDCIdentityProviderSpec{ library.CreateTestOIDCIdentityProvider(t, idpv1alpha1.OIDCIdentityProviderSpec{