X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fmore-psgi-compat.t;h=979896341da6c50795d8dadf8f7692a6635c0abd;hp=d7c61015c58e139f4285b6ac66a5f7591307b231;hb=10f9ef88e69b504106ed9e5cefa1088ccaf3308d;hpb=29707b1989d7539034ac46af6db85be20a236fe7 diff --git a/t/more-psgi-compat.t b/t/more-psgi-compat.t index d7c6101..9798963 100644 --- a/t/more-psgi-compat.t +++ b/t/more-psgi-compat.t @@ -1,5 +1,3 @@ -#!/usr/bin/env perl - use warnings; use strict; @@ -38,19 +36,6 @@ use Catalyst::Test 'TestFromPSGI'; ok my($res, $c) = ctx_request(POST '/test_psgi_keys?a=1&b=2', [c=>3,d=>4]); ok $c->req->env->{"psgix.input.buffered"}, "input is buffered"; - ok $c->req->env->{"plack.request.http.body"}; - ok my $body = $c->req->env->{"plack.request.body"}; - ok my $query = $c->req->env->{"plack.request.query"}; - ok my $merged = $c->req->env->{"plack.request.merged"}; - - is $body->get('c'), 3; - is $body->get('d'), 4; - is $query->get('a'), 1; - is $query->get('b'), 2; - is $merged->get('c'), 3; - is $merged->get('d'), 4; - is $merged->get('a'), 1; - is $merged->get('b'), 2; is $c->req->parameters->get('c'), 3; is $c->req->parameters->get('d'), 4;