Fix wrong REQ key in test code
[catagits/CatalystX-Routes.git] / t / lib / MyApp1 / Controller / C1.pm
index d2991f5..9b56297 100644 (file)
@@ -70,7 +70,7 @@ chain_point '_set_thing'
 get ''
     => chained '_set_thing'
     => args 0
-    => sub { $REQ{thing_end} = $REQ{user} };
+    => sub { $REQ{thing_end} = $REQ{thing} };
 
 sub normal : Chained('/') : Args(0) {
     $REQ{normal}++;