prepared for release.
[catagits/Catalyst-Runtime.git] / t / live_engine_response_redirect.t
index 5afe11f..3295779 100644 (file)
@@ -12,7 +12,7 @@ use Catalyst::Test 'TestApp';
 {
     ok( my $response = request('http://localhost/engine/response/redirect/one'), 'Request' );
     ok( $response->is_redirect, 'Response Redirection 3xx' );
-    is( $response->code, 301, 'Response Code' );
+    is( $response->code, 302, 'Response Code' );
     is( $response->header('X-Catalyst-Action'), 'engine/response/redirect/one', 'Test Action' );
     is( $response->header('Location'), '/test/writing/is/boring', 'Response Header Location' );
 }
@@ -20,7 +20,7 @@ use Catalyst::Test 'TestApp';
 {
     ok( my $response = request('http://localhost/engine/response/redirect/two'), 'Request' );
     ok( $response->is_redirect, 'Response Redirection 3xx' );
-    is( $response->code, 301, 'Response Code' );
+    is( $response->code, 302, 'Response Code' );
     is( $response->header('X-Catalyst-Action'), 'engine/response/redirect/two', 'Test Action' );
     is( $response->header('Location'), 'http://www.google.com/', 'Response Header Location' );
 }