[Catalyst-commits] r9886 - in trunk/Catalyst-Plugin-ConfigLoader: .
t
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Mon Apr 27 11:49:16 GMT 2009
Author: t0m
Date: 2009-04-27 12:49:16 +0100 (Mon, 27 Apr 2009)
New Revision: 9886
Modified:
trunk/Catalyst-Plugin-ConfigLoader/Changes
trunk/Catalyst-Plugin-ConfigLoader/t/20-mock_load.t
trunk/Catalyst-Plugin-ConfigLoader/t/21-mock_load_env.t
Log:
Fix tests when CATALYST_CONFIG_LOCAL_SUFFIX is set
Modified: trunk/Catalyst-Plugin-ConfigLoader/Changes
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/Changes 2009-04-27 11:42:25 UTC (rev 9885)
+++ trunk/Catalyst-Plugin-ConfigLoader/Changes 2009-04-27 11:49:16 UTC (rev 9886)
@@ -1,5 +1,8 @@
Revision history for Perl extension Catalyst::Plugin::ConfigLoader.
+ - Fix so that having CATALYST_CONFIG_LOCAL_SUFFIX set in $ENV{} doesn't
+ cause the tests to break.
+
0.23 Sat Apr 18 2009
- Update Data::Visitor
Modified: trunk/Catalyst-Plugin-ConfigLoader/t/20-mock_load.t
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/t/20-mock_load.t 2009-04-27 11:42:25 UTC (rev 9885)
+++ trunk/Catalyst-Plugin-ConfigLoader/t/20-mock_load.t 2009-04-27 11:49:16 UTC (rev 9886)
@@ -3,6 +3,7 @@
use Test::More tests => 10;
use Cwd;
+local %ENV;
$ENV{ CATALYST_HOME } = cwd . '/t/mockapp';
use_ok( 'Catalyst', qw( ConfigLoader ) );
Modified: trunk/Catalyst-Plugin-ConfigLoader/t/21-mock_load_env.t
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/t/21-mock_load_env.t 2009-04-27 11:42:25 UTC (rev 9885)
+++ trunk/Catalyst-Plugin-ConfigLoader/t/21-mock_load_env.t 2009-04-27 11:49:16 UTC (rev 9886)
@@ -3,6 +3,7 @@
use Test::More tests => 9;
use Cwd;
+local %ENV;
$ENV{ CATALYST_HOME } = cwd . '/t/mockapp';
$ENV{ MOCKAPP_CONFIG } = $ENV{ CATALYST_HOME } . '/mockapp.pl';
More information about the Catalyst-commits
mailing list