Build the middleware test cookie stores with the production constructor (closes #154) #434

Merged
clawbot merged 1 commits from issue-154-session-test-store into next 2026-10-02 14:30:52 +02:00
1 Commits
Author SHA1 Message Date
sneak fcee8ae182 Build the middleware test cookie stores with the production constructor (closes #154)
check / check (push) Waiting to run
session.NewStore moves from internal/session/export_test.go into
internal/session/testing.go, so packages outside session can build the
store the application runs with. The two middleware test helpers that
assembled their own store by assigning store.Options now call it, which
puts their securecookie codecs on the same 7-day cap as production
instead of the library's 30-day default.

Model: opus-5-5
2026-10-02 11:20:29 +00:00