From 96d21731bf0af9a97ebf98398d4d00711aa0a1eb Mon Sep 17 00:00:00 2001 From: Antonio Pagano Date: Fri, 4 Feb 2022 11:18:02 -0500 Subject: [PATCH] task: passing broken test now that the session saver middleware has been removed --- router_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/router_test.go b/router_test.go index 1e3fa5254..ff3584fa5 100644 --- a/router_test.go +++ b/router_test.go @@ -311,15 +311,15 @@ func Test_Router_Group_Middleware(t *testing.T) { a := testApp() a.Use(func(h Handler) Handler { return h }) - r.Len(a.Middleware.stack, 5) + r.Len(a.Middleware.stack, 4) g := a.Group("/api/v1") - r.Len(a.Middleware.stack, 5) - r.Len(g.Middleware.stack, 5) + r.Len(a.Middleware.stack, 4) + r.Len(g.Middleware.stack, 4) g.Use(func(h Handler) Handler { return h }) - r.Len(a.Middleware.stack, 5) - r.Len(g.Middleware.stack, 6) + r.Len(a.Middleware.stack, 4) + r.Len(g.Middleware.stack, 5) } func Test_Router_Redirect(t *testing.T) {