X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fbad_warnings.t;h=1b914f6b99768e874c4206437a48d41fa0783b4b;hp=e255a5c0d38a6fca7b43b12866289d722849d23e;hb=cc7738c0fb5c4b5dc601734e7b525391d81d6639;hpb=5dd46e24eedec447bdfbc4061ed683b5a17a7b0c diff --git a/t/bad_warnings.t b/t/bad_warnings.t index e255a5c..1b914f6 100644 --- a/t/bad_warnings.t +++ b/t/bad_warnings.t @@ -3,7 +3,7 @@ use strict; use Test::More; use HTTP::Request::Common; -# In DEBUG mode, we get not a number warnigs +# In DEBUG mode, we get not a number warnigs my $error; @@ -20,7 +20,7 @@ my $error; $c->response->body("This is the body"); } - sub infinity :Chained(root) PathPart('test') Args { + sub infinity :Chained(root) PathPart('test') Args { my ($self, $c) = @_; $c->response->body("This is the body"); Test::More::is $c->action->comparable_arg_number, ~0; @@ -52,7 +52,7 @@ my $error; $SIG{__WARN__} = sub { $error = shift }; - MyApp->setup; + MyApp->setup('-Log=fatal'); } use Catalyst::Test 'MyApp';