Add test case for uri_for() with #fragment and query params,
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_uri_for.t
index 48003d3..dad5a1c 100644 (file)
@@ -58,6 +58,15 @@ is(
     'Plus is not encoded'
 );
 
+TODO: {
+    local $TODO = 'broken by 5.7008';
+    is(
+        Catalyst::uri_for( $context, '/bar#fragment', { param1 => 'value1' } )->as_string,
+        'http://127.0.0.1/foo/bar?param1=value1#fragment',
+        'URI for path with fragment and query params'
+    );
+}
+
 # test with utf-8
 is(
     Catalyst::uri_for( $context, 'quux', { param1 => "\x{2620}" } )->as_string,