Skip to content

Commit 5202197

Browse files
committed
Fix test
Signed-off-by: Xabier Larrakoetxea <[email protected]>
1 parent 5303b8a commit 5202197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware/echo/echo_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func TestMiddleware(t *testing.T) {
7474
mdlw := middleware.New(middleware.Config{Recorder: mr})
7575
e := echo.New()
7676
req := test.req()
77-
e.Add(req.Method, req.URL.Path, test.handler(), echoMiddleware.Handler("", mdlw))
77+
e.Add(req.Method, req.URL.Path, test.handler(), echoMiddleware.Handler(test.handlerID, mdlw))
7878

7979
// Make the request.
8080
resp := httptest.NewRecorder()

0 commit comments

Comments
 (0)