X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Funit_core_setup_stats.t;h=ed79147252794b073cbef6c4670b60e2c8d9d825;hb=69c272738eeb23ce56dfec8840581a167b0b88c3;hp=8cc979f5cf0274cbd95dffabdb0c626989d47931;hpb=e1a0feeac7838af26683b6aca7df860228bfbf35;p=catagits%2FCatalyst-Runtime.git 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.. {