Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbrzzl committed Nov 20, 2023
1 parent 7c9cb4b commit ba030bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/middleware/throttle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (r *TestContext) Response() contractshttp.ContextResponse {
return r.response
}

func (r *TestContext) SetContext(ctx contractshttp.Context) {
func (r *TestContext) SetContext(ctx context.Context) {
panic("do not need to implement it")
}

Expand Down

0 comments on commit ba030bf

Please sign in to comment.