Go away, otherwise running the tests against 5.70 doesn't work
[catagits/Catalyst-Runtime.git] / t / lib / Catalyst / Plugin / Test / Plugin.pm
1 package Catalyst::Plugin::Test::Plugin;
2
3 use strict;
4
5 use base qw/Catalyst::Base Class::Data::Inheritable/;
6
7  __PACKAGE__->mk_classdata('ran_setup');
8
9 sub setup {
10    my $c = shift;
11    $c->ran_setup('1');
12 }
13
14 sub  prepare {
15
16     my $class = shift;
17
18 # Note: This use of NEXT is deliberately left here (without a use NEXT)
19 #       to ensure back compat, as NEXT always used to be loaded, but 
20 #       is now replaced by Class::C3::Adopt::NEXT.
21     my $c = $class->NEXT::prepare(@_);
22     $c->response->header( 'X-Catalyst-Plugin-Setup' => $c->ran_setup );
23
24     return $c;
25
26 }
27
28 sub end : Private {
29     my ($self,$c) = @_;
30 }
31
32 1;