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