From fd4c5d0739d110bd35c69124c62f494c36ca350d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 11 Jan 2011 13:02:39 -0600 Subject: being a bit more explicit about backends is probably a good thing --- t/01-basic.t | 2 +- t/02-inputs.t | 2 +- t/03-delayed-response.t | 2 +- t/04-streaming.t | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 't') 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 => {})); }, ); -- cgit v1.2.3-54-g00ecf