summaryrefslogtreecommitdiffstats
path: root/t/04-streaming.t
diff options
context:
space:
mode:
Diffstat (limited to 't/04-streaming.t')
-rw-r--r--t/04-streaming.t8
1 files changed, 2 insertions, 6 deletions
diff --git a/t/04-streaming.t b/t/04-streaming.t
index 9aaec17..6c475ff 100644
--- a/t/04-streaming.t
+++ b/t/04-streaming.t
@@ -139,9 +139,7 @@ sub test_responses {
$uri->path('/') unless $uri->path; # XXX: work around plack bug
my $env = HTTP::Request->new(GET => $uri)->to_psgi;
$env->{CONTENT_LENGTH} = 0; # XXX: work around plack bug
- $env->{'plack.client.url_scheme'} = $base->scheme;
- $env->{'plack.client.app_name'} = $base->authority
- if $base->scheme eq 'psgi-local';
+ $env->{'plack.client.original_uri'} = $base;
response_is(
$client->request($env),
200,
@@ -157,9 +155,7 @@ sub test_responses {
$uri->path('/') unless $uri->path; # XXX: work around plack bug
my $env = HTTP::Request->new(GET => $uri)->to_psgi;
$env->{CONTENT_LENGTH} = 0; # XXX: work around plack bug
- $env->{'plack.client.url_scheme'} = $base->scheme;
- $env->{'plack.client.app_name'} = $base->authority
- if $base->scheme eq 'psgi-local';
+ $env->{'plack.client.original_uri'} = $base;
response_is(
$client->request(Plack::Request->new($env)),
200,