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

pull/3041/head^2
Jason McNeil 2024-06-26 10:30:31 -03:00 committed by GitHub
parent 7a2e99bc8c
commit dd2625661d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

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