summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-12-31 15:25:37 -0600
committerJesse Luehrs <doy@tozt.net>2010-12-31 15:25:37 -0600
commit02c87fd5b686f23fb0b1a68f70dc14033d2c3c38 (patch)
tree3fbcfa885fd08eab4bf8c7c523641aedba70c8c0 /t
parent934a64b7706ec6092c0b2197f46dcdea82ff5192 (diff)
downloadplack-client-02c87fd5b686f23fb0b1a68f70dc14033d2c3c38.tar.gz
plack-client-02c87fd5b686f23fb0b1a68f70dc14033d2c3c38.zip
use psgi-local: rather than psgi:
Diffstat (limited to 't')
-rw-r--r--t/01-basic.t4
-rw-r--r--t/02-inputs.t2
2 files changed, 3 insertions, 3 deletions
diff --git a/t/01-basic.t b/t/01-basic.t
index e138e10..0be56ac 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -42,12 +42,12 @@ test_tcp_plackup(
is($client->app_for('bar'), undef, "didn't get nonexistent app");
{
- my $res = $client->get('psgi://foo/');
+ my $res = $client->get('psgi-local://foo/');
response_is($res, 200, ['Content-Type' => 'text/plain'], '/');
}
{
- my $res = $client->get('psgi://foo/foo');
+ my $res = $client->get('psgi-local://foo/foo');
response_is($res, 200, ['Content-Type' => 'text/plain'], 'oof/');
}
}
diff --git a/t/02-inputs.t b/t/02-inputs.t
index bafe960..0bedc65 100644
--- a/t/02-inputs.t
+++ b/t/02-inputs.t
@@ -44,7 +44,7 @@ test_tcp_plackup(
my $apps = {
foo => eval $app,
};
- my $base_uri = 'psgi://foo';
+ my $base_uri = 'psgi-local://foo';
test_responses($base_uri, Plack::Client->new(apps => $apps));
}