summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-01-11 13:02:39 -0600
committerJesse Luehrs <doy@tozt.net>2011-01-11 13:02:39 -0600
commitfd4c5d0739d110bd35c69124c62f494c36ca350d (patch)
tree4b6725a773cc2d353f8a84405e0ae9d094df6fe9 /t
parentacf9a94c33748457d49e662c9c7ed3719a38eb65 (diff)
downloadplack-client-fd4c5d0739d110bd35c69124c62f494c36ca350d.tar.gz
plack-client-fd4c5d0739d110bd35c69124c62f494c36ca350d.zip
being a bit more explicit about backends is probably a good thing
Diffstat (limited to 't')
-rw-r--r--t/01-basic.t2
-rw-r--r--t/02-inputs.t2
-rw-r--r--t/03-delayed-response.t2
-rw-r--r--t/04-streaming.t2
4 files changed, 4 insertions, 4 deletions
diff --git a/t/01-basic.t b/t/01-basic.t
index 6e185b4..e152f8d 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -10,7 +10,7 @@ test_tcp_plackup(
sub {
my $base_url = shift;
- my $client = Plack::Client->new;
+ my $client = Plack::Client->new(http => {});
isa_ok($client, 'Plack::Client');
{
diff --git a/t/02-inputs.t b/t/02-inputs.t
index 09e471c..3b7260a 100644
--- a/t/02-inputs.t
+++ b/t/02-inputs.t
@@ -38,7 +38,7 @@ test_tcp_plackup(
sub {
my $base_uri = shift;
- test_responses($base_uri, Plack::Client->new);
+ test_responses($base_uri, Plack::Client->new(http => {}));
},
);
diff --git a/t/03-delayed-response.t b/t/03-delayed-response.t
index 26d9037..ed3fbd9 100644
--- a/t/03-delayed-response.t
+++ b/t/03-delayed-response.t
@@ -41,7 +41,7 @@ test_tcp_plackup(
sub {
my $base_uri = shift;
- test_responses($base_uri, Plack::Client->new);
+ test_responses($base_uri, Plack::Client->new(http => {}));
},
);
diff --git a/t/04-streaming.t b/t/04-streaming.t
index 17a42e6..9aaec17 100644
--- a/t/04-streaming.t
+++ b/t/04-streaming.t
@@ -42,7 +42,7 @@ test_tcp_plackup(
sub {
my $base_uri = shift;
- test_responses($base_uri, Plack::Client->new);
+ test_responses($base_uri, Plack::Client->new(http => {}));
},
);