Fix RT#48555
[catagits/Catalyst-Runtime.git] / t / unit_core_setup_stats.t
index 8cc979f..ed79147 100644 (file)
@@ -29,6 +29,10 @@ sub mock_app {
     return $meta->name;
 }
 
+mock_app('UnusedApp'); # Mock an app before localizing %ENV
+                       # to ensure that anything which is dynamically
+                       # loaded from the enviornment is loaded
+
 local %ENV; # Ensure blank or someone, somewhere will fail..
 
 {