The t/app.psgi test application does not return a valid PSGI response: the second element of the returned array ref should be an array ref, not a hash ref.
Patch attached.
Subject: | Plack-Middleware-Auth-Form-psgifix.patch |
diff --git i/t/app.psgi w/t/app.psgi
index 591c30e..c644b52 100644
--- i/t/app.psgi
+++ w/t/app.psgi
@@ -21,7 +21,7 @@ END
$page .= '<a href="/login">login</a>';
}
$page .= '</body></html>';
- return [ 200, { 'Content-Type' => 'text/html', }, [ $page ] ];
+ return [ 200, [ 'Content-Type' => 'text/html', ], [ $page ] ];
}
builder {