mirror of https://github.com/gofiber/fiber.git
test(middleware/session): Remove extra release and aquire ctx calls in session_test.go (#3043)
parent
abf8f324d6
commit
c7bfb31bf9
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue