Skip to content

Commit dd4ff1e

Browse files
committed
test(middleware/session): Remove extra release and acquire ctx calls in session_test.go
1 parent 7a2e99b commit dd4ff1e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

middleware/session/session_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,6 @@ func Test_Session_Types(t *testing.T) {
129129
// the session string is no longer be 123
130130
newSessionIDString := sess.ID()
131131

132-
app.ReleaseCtx(ctx)
133-
ctx = app.AcquireCtx(&fasthttp.RequestCtx{})
134-
135-
ctx.Request().Header.SetCookie(store.sessionName, newSessionIDString)
136-
137132
type User struct {
138133
Name string
139134
}

0 commit comments

Comments
 (0)