X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fstate.t;h=f071ec1e32968d61271f5d7b568a65d0448e2921;hp=10542b7f5ba1f8562ccffaa9f0ae4ce4019522e7;hb=4c71cf1b43594eabfee6e346a0a30b6dcf315b4f;hpb=bd6018c40240ca651d1ff62552b948fc9e691cab diff --git a/t/state.t b/t/state.t index 10542b7..f071ec1 100644 --- a/t/state.t +++ b/t/state.t @@ -19,7 +19,10 @@ use HTTP::Request::Common; sub auto :Action { my ($self, $c) = @_; - Test::More::is($c->state, 'begin'); # default state of 1 is new to 9.0102 + # Even if a begin returns something, we kill it. Need to + # do this since there's actually people doing detach in + # auto and expect that to work the same as 0. + Test::More::is($c->state, '0'); return 'auto'; }