X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Farg_constraints.t;h=05278d1f5bb6c03d3850dbff278cd139732d9810;hp=95c046c1c9452e7686220a8ff84a7b9015296e78;hb=cc7738c0fb5c4b5dc601734e7b525391d81d6639;hpb=eefc03e12890c06c9a76d78b4d68e3b2ad781328 diff --git a/t/arg_constraints.t b/t/arg_constraints.t index 95c046c..05278d1 100644 --- a/t/arg_constraints.t +++ b/t/arg_constraints.t @@ -16,14 +16,14 @@ BEGIN { use strict; use warnings; - + use Type::Utils -all; use Types::Standard -types; use Type::Library -base, -declare => qw( UserId Heart User ContextLike ); - extends "Types::Standard"; + extends "Types::Standard"; class_type User, { class => "MyApp::Model::User::user" }; duck_type ContextLike, [qw/model/]; @@ -152,7 +152,7 @@ BEGIN { sub any_priority_link_any :Chained(link_any) PathPart('') Args(1) { $_[1]->res->body('any_priority_link_any') } sub int_priority_link_any :Chained(link_any) PathPart('') Args(Int) { $_[1]->res->body('int_priority_link_any') } - + sub link_int :Chained(chain_base) PathPart('') CaptureArgs(Int) { } sub any_priority_link :Chained(link_int) PathPart('') Args(1) { $_[1]->res->body('any_priority_link') } @@ -262,7 +262,7 @@ BEGIN { package MyApp; use Catalyst; - MyApp->setup; + MyApp->setup('-Log=fatal'); } use Catalyst::Test 'MyApp';