Fix RT#48555
Tomas Doran [Sun, 9 Aug 2009 12:36:20 +0000 (12:36 +0000)]
t/unit_core_setup.t
t/unit_core_setup_stats.t

index 00ee842..8f41a2b 100644 (file)
@@ -26,6 +26,10 @@ sub build_test_app_with_setup {
     return $name;
 }
 
+build_test_app_with_setup('UnusedApp'); # Mock an app before localizing %ENV
+                                  # to ensure that anything which is dynamically
+                                  # loaded from the enviornment is loaded
+
 local %ENV; # Don't allow env variables to mess us up.
 
 {
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..
 
 {