X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestAppDoubleAutoBug.pm;h=524ed8ba3de67203877b0fc129a6890cdd0b7ef7;hb=9c1fc6d6a8c4701fa842fa5229c99d103aee1afa;hp=00855cdf76e36aa196f4febf2a137cc3ccdd5631;hpb=f3414019f472b55682ef3af53f761b6db7955887;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestAppDoubleAutoBug.pm b/t/lib/TestAppDoubleAutoBug.pm index 00855cd..524ed8b 100644 --- a/t/lib/TestAppDoubleAutoBug.pm +++ b/t/lib/TestAppDoubleAutoBug.pm @@ -45,15 +45,5 @@ sub execute { return $c->SUPER::execute(@_); } +1; - -sub auto : Private { - my ( $self, $c ) = @_; - ++$c->stash->{auto_count}; - return 1; -} - -sub default : Private { - my ( $self, $c ) = @_; - $c->res->body( sprintf 'default, auto=%d', $c->stash->{auto_count} ); -}