devex
This commit is contained in:
parent
7b8cdcfd7b
commit
143caaac2b
9 changed files with 115 additions and 10 deletions
|
@ -56,6 +56,8 @@ func TestPostHandler(t *testing.T) {
|
|||
func TestPostHandlerIntegration(t *testing.T) {
|
||||
i, dsm, key := makeInteractions(t)
|
||||
app := roleypoly.CreateFiberApp()
|
||||
|
||||
// Tests that everything works including auth middleware
|
||||
sessionMiddleware, sessionStore := session.NewWithStore()
|
||||
sessionStore.RegisterType(authmiddleware.Session{})
|
||||
app.Use(sessionMiddleware)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue