test(middleware/session): Remove extra release and aquire ctx calls in session_test.go (#3043)

pull/3045/head
Jason McNeil 2024-06-26 10:46:28 -03:00 committed by GitHub
parent abf8f324d6
commit c7bfb31bf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -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
}