WrapCGI: fix for 5.8
[catagits/Catalyst-Controller-WrapCGI.git] / t / wrap-cgi.t
CommitLineData
457c1d76 1#!perl
2
3use strict;
4use warnings;
5
6use FindBin '$Bin';
7use lib "$Bin/lib";
8
9use Test::More tests => 1;
10
11use Catalyst::Test 'TestApp';
12use HTTP::Request::Common;
13
14my $response = request POST '/cgi-bin/test.cgi', [
15 foo => 'bar',
16 bar => 'baz'
17];
18
19is($response->content, 'foo:bar bar:baz', 'POST to CGI');