X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flive_recursion.t;h=2c766fd2355e52fd906bd8cc179563760bd12263;hp=fa8ced1809fbd871a1825b03f547872be50d8b0c;hb=d5aec790b3edcf888daf4599ff3ceef73fe002bc;hpb=e112461ad1af391bfdc158350bba343a2624c892 diff --git a/t/live_recursion.t b/t/live_recursion.t index fa8ced1..2c766fd 100644 --- a/t/live_recursion.t +++ b/t/live_recursion.t @@ -9,6 +9,8 @@ use lib "$FindBin::Bin/lib"; use Test::More tests => 3; use Catalyst::Test 'TestApp'; +local $^W = 0; + ok( my $response = request('http://localhost/recursion_test'), 'Request' ); ok( !$response->is_success, 'Response Not Successful' ); is( $response->header('X-Catalyst-Error'), 'Deep recursion detected calling "/recursion_test"', 'Deep Recursion Detected' );