X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F10-live_auto.t;h=90bc05cd2a9d287fe89f8f6ceab241b0348500c7;hb=1818b6bc1d517f1da787a24c2a62b2fa6a3cb676;hp=782bf7da05c62be68074c1d3cc14a82cf41e23db;hpb=587d381b43681a3529349505abcc351aec54fb01;p=catagits%2FCatalyst-Plugin-ConfigLoader.git diff --git a/t/10-live_auto.t b/t/10-live_auto.t index 782bf7d..90bc05c 100644 --- a/t/10-live_auto.t +++ b/t/10-live_auto.t @@ -6,6 +6,13 @@ use lib "$FindBin::Bin/lib"; use Test::More tests => 5; +BEGIN { + # Remove all relevant env variables to avoid accidental fail + foreach my $name ( grep { m{^(CATALYST)} } keys %ENV ) { + delete $ENV{ $name }; + } +} + use Catalyst::Test 'TestApp'; {