Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: bcmmbaga <[email protected]>
  • Loading branch information
bcmmbaga committed Dec 23, 2024
1 parent 2cba987 commit d90eb49
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions management/server/idp/okta_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ func TestParseOktaUser(t *testing.T) {
name string
inputUser *okta.User
expectedUserData *UserData
assertErrFunc assert.ErrorAssertionFunc
}

testCases := []parseOktaUserTest{
Expand All @@ -30,11 +29,7 @@ func TestParseOktaUser(t *testing.T) {
Email: "[email protected]",
Name: "John Doe",
ID: "123",
AppMetadata: AppMetadata{
WTAccountID: "456",
},
},
assertErrFunc: assert.NoError,
},
{
name: "invalid okta user",
Expand All @@ -48,7 +43,5 @@ func TestParseOktaUser(t *testing.T) {
userData := parseOktaUser(tt.inputUser)
assert.Equal(t, tt.expectedUserData, userData, "user data should match")
})

}

}

0 comments on commit d90eb49

Please sign in to comment.