From d90eb49f372ed719dcfb85d098ac0fa842d3ec61 Mon Sep 17 00:00:00 2001 From: bcmmbaga Date: Mon, 23 Dec 2024 22:47:40 +0300 Subject: [PATCH] fix tests Signed-off-by: bcmmbaga --- management/server/idp/okta_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/management/server/idp/okta_test.go b/management/server/idp/okta_test.go index 13c963a07..ec3b31339 100644 --- a/management/server/idp/okta_test.go +++ b/management/server/idp/okta_test.go @@ -12,7 +12,6 @@ func TestParseOktaUser(t *testing.T) { name string inputUser *okta.User expectedUserData *UserData - assertErrFunc assert.ErrorAssertionFunc } testCases := []parseOktaUserTest{ @@ -30,11 +29,7 @@ func TestParseOktaUser(t *testing.T) { Email: "test@example.com", Name: "John Doe", ID: "123", - AppMetadata: AppMetadata{ - WTAccountID: "456", - }, }, - assertErrFunc: assert.NoError, }, { name: "invalid okta user", @@ -48,7 +43,5 @@ func TestParseOktaUser(t *testing.T) { userData := parseOktaUser(tt.inputUser) assert.Equal(t, tt.expectedUserData, userData, "user data should match") }) - } - }