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=62864794a5688676c4aa0cf0a3bbc9258731fe77;hpb=878f62712380e7945c29dc1cb215b8afd30fb923 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; }