Skip to content

Commit

Permalink
test(middleware/session): Remove extra release and acquire ctx calls …
Browse files Browse the repository at this point in the history
…in session_test.go (#3044)
  • Loading branch information
sixcolors authored Jun 26, 2024
1 parent 7a2e99b commit dd26256
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 @@ -129,11 +129,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 dd26256

Please sign in to comment.