X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fmiddleware-stash.t;h=dc22ab6f5acb7c45545faa01d36519d6781b1b26;hb=fe51b31bbe095f5c33e95082a5c31e817ffe6d6a;hp=24b95f21d14b97ea7a42cb8b64141f1082a8bdb3;hpb=878f62712380e7945c29dc1cb215b8afd30fb923;p=catagits%2FCatalyst-Runtime.git 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; }