From: Tomas Doran Date: Sun, 9 Aug 2009 12:36:20 +0000 (+0000) Subject: Fix RT#48555 X-Git-Tag: 5.80008~30 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=69c272738eeb23ce56dfec8840581a167b0b88c3 Fix RT#48555 --- diff --git a/t/unit_core_setup.t b/t/unit_core_setup.t index 00ee842..8f41a2b 100644 --- a/t/unit_core_setup.t +++ b/t/unit_core_setup.t @@ -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. { diff --git a/t/unit_core_setup_stats.t b/t/unit_core_setup_stats.t index 8cc979f..ed79147 100644 --- a/t/unit_core_setup_stats.t +++ b/t/unit_core_setup_stats.t @@ -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.. {