application proxied on context instead the other way around; not all tests pass yet
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_uri_for_multibytechar.t
index 3ec1d44..04c42c8 100644 (file)
@@ -15,10 +15,7 @@ my $request = Catalyst::Request->new({
     uri  => URI->new("$base/"),
 });
 
-my $context = TestApp->new({ 
-    context => Catalyst::Context->new( request => $request, )
-});
-
+my $context = Catalyst::Context->new( request => $request, application => TestApp->new );
 
 my $uri_with_multibyte = URI->new($base);
 $uri_with_multibyte->path('/');