Fix the SmartURI recursion using a predicate and un-skip test
[catagits/Catalyst-Runtime.git] / t / aggregate / live_engine_request_uri.t
index ee6fdfd..1722ccb 100644 (file)
@@ -151,8 +151,8 @@ SKIP:
     is( $response->header( 'X-Catalyst-Param-c' ), '1', 'param "c" ok' );
 }
 
-SKIP: {
-    skip 'This currently causes infinite recursion', 2;
+# Test an overridden uri method which calls the base method, SmartURI does this.
+{
     require TestApp::RequestBaseBug;
     TestApp->request_class('TestApp::RequestBaseBug');
     ok( my $response = request('http://localhost/engine/request/uri'), 'Request' );