Skip to content

Commit

Permalink
test(middleware/session): Remove extra release and aquire ctx calls i…
Browse files Browse the repository at this point in the history
…n session_test.go (#3043)
  • Loading branch information
sixcolors authored Jun 26, 2024
1 parent abf8f32 commit c7bfb31
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions middleware/session/session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ func Test_Session_Types(t *testing.T) {
// the session string is no longer be 123
newSessionIDString := sess.ID()

app.ReleaseCtx(ctx)
ctx = app.AcquireCtx(&fasthttp.RequestCtx{})

ctx.Request().Header.SetCookie(store.sessionName, newSessionIDString)

type User struct {
Name string
}
Expand Down

0 comments on commit c7bfb31

Please sign in to comment.