X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive_engine_request_remote_user.t;h=e6c87471bbcda4b37a6c5c01de613ef53e01b17e;hb=6e3dd95f237370a2824e5ecc1419eaed075f0279;hp=c62f60729f652c17595f51f85bf72bb060425cd1;hpb=49382cb81fb4a34863b8e70e63882cd953f2315b;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/live_engine_request_remote_user.t b/t/aggregate/live_engine_request_remote_user.t index c62f607..e6c8747 100644 --- a/t/aggregate/live_engine_request_remote_user.t +++ b/t/aggregate/live_engine_request_remote_user.t @@ -1,5 +1,3 @@ -#!perl - # This tests to make sure the REMOTE_USER environment variable is properly passed through by the engine. use strict; @@ -32,7 +30,8 @@ use HTTP::Request::Common; ok( eval '$creq = ' . $response->content, 'Unserialize Catalyst::Request' - ); + ) + or fail("Failed to deserialize $@ from " . $response->content); } isa_ok( $creq, 'Catalyst::Request' );