X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_component_controller_action_forward.t;h=d4e20f8af32932b41813ebf432141576e2f8e84b;hb=afb82794328ff8da1efc0a4c37f3f3703c262c31;hp=5b23653033d4179a80b5f5f8b8c458f281681c89;hpb=86d993abfe04d54984bca9c1c5a91139ec1eec42;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_component_controller_action_forward.t b/t/live_component_controller_action_forward.t index 5b23653..d4e20f8 100644 --- a/t/live_component_controller_action_forward.t +++ b/t/live_component_controller_action_forward.t @@ -8,7 +8,7 @@ use lib "$FindBin::Bin/lib"; our $iters; -BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 2; } +BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; } use Test::More tests => 47 * $iters; use Catalyst::Test 'TestApp'; @@ -148,8 +148,8 @@ sub run_tests { } { my @expected = qw[ - TestApp::Controller::Action::Relative->begin - TestApp::Controller::Action::Relative->relative + TestApp::Controller::Action::TestRelative->begin + TestApp::Controller::Action::TestRelative->relative TestApp::Controller::Action::Forward->one TestApp::Controller::Action::Forward->two TestApp::Controller::Action::Forward->three @@ -170,7 +170,7 @@ sub run_tests { 'action/relative/relative', 'Test Action' ); is( $response->header('X-Test-Class'), - 'TestApp::Controller::Action::Relative', + 'TestApp::Controller::Action::TestRelative', 'Test Class' ); is( $response->header('X-Catalyst-Executed'), @@ -183,8 +183,8 @@ sub run_tests { } { my @expected = qw[ - TestApp::Controller::Action::Relative->begin - TestApp::Controller::Action::Relative->relative_two + TestApp::Controller::Action::TestRelative->begin + TestApp::Controller::Action::TestRelative->relative_two TestApp::Controller::Action::Forward->one TestApp::Controller::Action::Forward->two TestApp::Controller::Action::Forward->three @@ -211,7 +211,7 @@ sub run_tests { ); is( $response->header('X-Test-Class'), - 'TestApp::Controller::Action::Relative', + 'TestApp::Controller::Action::TestRelative', 'Test Class' ); is( $response->header('X-Catalyst-Executed'),