Tests for %ENV fail in Catalyst::Test
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Dump.pm
CommitLineData
dd4e6fd2 1package TestApp::Controller::Dump;
2
3use strict;
c057ae86 4use base 'Catalyst::Controller';
dd4e6fd2 5
6sub default : Action Private {
7 my ( $self, $c ) = @_;
8 $c->forward('TestApp::View::Dump');
9}
10
316bf0f0 11sub env : Action Relative {
12 my ( $self, $c ) = @_;
e74b3d5c 13 $c->forward('TestApp::View::Dump::Env');
316bf0f0 14}
15
dd4e6fd2 16sub request : Action Relative {
17 my ( $self, $c ) = @_;
d157ca3d 18 $c->req->params(undef); # Should be a no-op, and be ignored.
19 # Back compat test for 5.7
dd4e6fd2 20 $c->forward('TestApp::View::Dump::Request');
21}
22
23sub response : Action Relative {
24 my ( $self, $c ) = @_;
25 $c->forward('TestApp::View::Dump::Response');
26}
27
c4b09639 28sub body : Action Relative {
29 my ( $self, $c ) = @_;
30 $c->forward('TestApp::View::Dump::Body');
31}
32
dd4e6fd2 331;