Skip to content

Commit

Permalink
Update param_test.go, fixed test to account for added Accept header a…
Browse files Browse the repository at this point in the history
…ccross all api
  • Loading branch information
ekumamatthew authored Jan 10, 2025
1 parent c3ce514 commit 57a6f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion param_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestParams(t *testing.T) {

require.NotNil(t, route)
require.NotNil(t, route.Params)
require.Len(t, route.Params, 3)
require.Len(t, route.Params, 4)
require.Equal(t, "Name", route.Params["name"].Description)
require.True(t, route.Params["name"].Required)
require.Equal(t, "hey", route.Params["name"].Default)
Expand Down

0 comments on commit 57a6f34

Please sign in to comment.