Skip to content

Commit 57ac63e

Browse files
committed
test(middleware/session): Remove extra release and aquire ctx calls in session_test.go
1 parent abf8f32 commit 57ac63e

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
@@ -133,11 +133,6 @@ func Test_Session_Types(t *testing.T) {
133133
// the session string is no longer be 123
134134
newSessionIDString := sess.ID()
135135

136-
app.ReleaseCtx(ctx)
137-
ctx = app.AcquireCtx(&fasthttp.RequestCtx{})
138-
139-
ctx.Request().Header.SetCookie(store.sessionName, newSessionIDString)
140-
141136
type User struct {
142137
Name string
143138
}

0 commit comments

Comments
 (0)