Remove use of Catalyst::Base from the tests
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Engine / Response / Errors.pm
CommitLineData
dd4e6fd2 1package TestApp::Controller::Engine::Response::Errors;
2
3use strict;
c057ae86 4use base 'Catalyst::Controller';
dd4e6fd2 5
6sub one : Relative {
7 my ( $self, $c ) = @_;
8 my $a = 0;
9 my $b = 0;
c462faf0 10 my $t = $a / $b;
dd4e6fd2 11}
12
13sub two : Relative {
14 my ( $self, $c ) = @_;
15 $c->forward('/non/existing/path');
16}
17
18sub three : Relative {
19 my ( $self, $c ) = @_;
20 die("I'm going to die!\n");
21}
22
231;