X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fmiddleware-stash.t;h=dc22ab6f5acb7c45545faa01d36519d6781b1b26;hp=24b95f21d14b97ea7a42cb8b64141f1082a8bdb3;hb=5e7e6b272a9e1b8bf1c401dd3a607fc851c43cc7;hpb=bde334da382a3d3ac58a63c9061639e712a02e0a diff --git a/t/middleware-stash.t b/t/middleware-stash.t index 24b95f2..dc22ab6 100644 --- a/t/middleware-stash.t +++ b/t/middleware-stash.t @@ -58,11 +58,12 @@ use strict; $c->stash->{outer} = "outer"; $c->res->from_psgi_response( MyAppChild->to_app->($c->req->env) ); - is_deeply [keys(%{$c->stash})], ['outer'], 'only one key in stash'; + is_deeply [sort keys(%{$c->stash})], ['inner','outer']; } package MyAppParent; use Catalyst; + MyAppParent->config(psgi_middleware=>['+MyMiddleware']); MyAppParent->setup; }