Skip to content

Commit

Permalink
fix: gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Nov 6, 2024
1 parent afa6360 commit 7474b9e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions authmeter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ func TestMultipleKeyAuth(t *testing.T) {
return c.OriginalURL() != "/auth1"
},
KeyAuthConfig: KeyAuthConfig{

KeyLookup: "header:key",
Validator: func(c *fiber.Ctx, key string) (bool, error) {
if key == "password1" {
Expand Down Expand Up @@ -281,7 +280,6 @@ func TestCustomSuccessAndFailureHandlers(t *testing.T) {

app.Use(New(Config{
KeyAuthConfig: KeyAuthConfig{

SuccessHandler: func(c *fiber.Ctx) error {
return c.Status(fiber.StatusOK).SendString("API key is valid and request was handled by custom success handler")
},
Expand Down

0 comments on commit 7474b9e

Please sign in to comment.