Skip to content

Commit

Permalink
Fix loa test
Browse files Browse the repository at this point in the history
  • Loading branch information
p53 committed Oct 28, 2024
1 parent b9c8c4f commit 003edbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/keycloak/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,7 @@ func TestEnableLoa(t *testing.T) {
Name: "InvalidWithNoRedirects",
Config: &Config{
EnableLoA: true,
NoRedirects: false,
NoRedirects: true,
},
Valid: false,
},
Expand All @@ -2580,7 +2580,7 @@ func TestEnableLoa(t *testing.T) {
t.Run(
testCase.Name,
func(t *testing.T) {
err := testCase.Config.isEnableHmacValid()
err := testCase.Config.isEnableLoAValid()
if err != nil && testCase.Valid {
t.Fatalf("Expected test not to fail")
}
Expand Down

0 comments on commit 003edbe

Please sign in to comment.