Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed Sep 8, 2016
1 parent cc34031 commit 09c9edd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cpanfile
Expand Up @@ -87,7 +87,7 @@ requires 'Log::Contextual';
requires 'Log::Log4perl';
requires 'Log::Log4perl::Appender::ScreenColoredLevels';
requires 'MetaCPAN::Moose';
requires 'MetaCPAN::Role';
requires 'MetaCPAN::Role', '0.02';
requires 'Minion', '>= 5.01';
requires 'Minion::Backend::SQLite';
requires 'Module::Load';
Expand Down
10 changes: 5 additions & 5 deletions cpanfile.snapshot
Expand Up @@ -4201,12 +4201,12 @@ DISTRIBUTIONS
perl 5.006
strict 0
warnings 0
MetaCPAN-Role-0.01
pathname: L/LL/LLAP/MetaCPAN-Role-0.01.tar.gz
MetaCPAN-Role-0.02
pathname: L/LL/LLAP/MetaCPAN-Role-0.02.tar.gz
provides:
MetaCPAN::Role 0.01
MetaCPAN::Role::Fastly 0.01
MetaCPAN::Role::Fastly::Catalyst 0.01
MetaCPAN::Role 0.02
MetaCPAN::Role::Fastly 0.02
MetaCPAN::Role::Fastly::Catalyst 0.02
requirements:
Carp 0
CatalystX::Fastly::Role::Response 0
Expand Down
7 changes: 5 additions & 2 deletions t/server/controller/source.t
Expand Up @@ -27,8 +27,11 @@ test_psgi app, sub {
is( $res->header('X-Content-Type'),
'text/x-script.perl-module', 'X-Content-Type' );

is( $res->header('Surrogate-Control'),
'max-age=86400', 'Surrogate-Control' );
is(
$res->header('Surrogate-Control'),
'max-age=31556952, stale-if-error=2592000',
'Surrogate-Control'
);

}
elsif ( $k =~ /MANIFEST/ ) {
Expand Down

0 comments on commit 09c9edd

Please sign in to comment.