From: Tomas Doran Date: Sat, 27 Dec 2008 10:32:56 +0000 (+0000) Subject: Change what we stream to make test sync for engines easier. X-Git-Tag: 5.7099_04~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=361359b59a0523c90962bc4f7a78562630fafe80 Change what we stream to make test sync for engines easier. --- diff --git a/Changes b/Changes index a8106a6..a0272d4 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ # This file documents the revision history for Perl extension Catalyst. 5.7XXXXXX XXXX + - Change streaming test to serve itself rather than 01use.t, making test + sync for engines easier (t0m) - Workaround change in LWP that broke a cookie test (RT #40037) - Back out go() since that feature's been pushed to 5.80 - Fix some Win32 test failures diff --git a/t/lib/TestApp/Controller/Action/Streaming.pm b/t/lib/TestApp/Controller/Action/Streaming.pm index ef475e4..f1a2908 100644 --- a/t/lib/TestApp/Controller/Action/Streaming.pm +++ b/t/lib/TestApp/Controller/Action/Streaming.pm @@ -17,7 +17,7 @@ EOF sub body : Local { my ( $self, $c ) = @_; - my $file = "$FindBin::Bin/01use.t"; + my $file = "$FindBin::Bin/lib/TestApp/Controller/Action/Streaming.pm"; my $fh = IO::File->new( $file, 'r' ); if ( defined $fh ) { $c->res->body( $fh ); diff --git a/t/live_component_controller_action_streaming.t b/t/live_component_controller_action_streaming.t index 68584a1..6f1e48c 100644 --- a/t/live_component_controller_action_streaming.t +++ b/t/live_component_controller_action_streaming.t @@ -54,7 +54,7 @@ EOF skip "Using remote server", 5; } - my $file = "$FindBin::Bin/01use.t"; + my $file = "$FindBin::Bin/lib/TestApp/Controller/Action/Streaming.pm"; my $fh = IO::File->new( $file, 'r' ); my $buffer; if ( defined $fh ) {