File: live_engine_setup_plugins.t

package info (click to toggle)
libcatalyst-perl 5.90132-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,016 kB
  • sloc: perl: 11,061; makefile: 7
file content (14 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
use warnings;

use FindBin;
use lib "$FindBin::Bin/../lib";

use Test::More tests => 2;
use Catalyst::Test 'TestApp';

{
  # Allow overriding automatic root.
    ok( my $response = request('http://localhost/engine/response/headers/one'), 'Request' );
    is( $response->header('X-Catalyst-Plugin-Setup'), '1' );
}