projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c19d075
)
update tests to ignore CATALYST_HOME env var
Matt S Trout [Fri, 22 Jul 2011 21:06:17 +0000 (21:06 +0000)]
Changes
patch
|
blob
|
blame
|
history
t/aggregate/unit_core_path_to.t
patch
|
blob
|
blame
|
history
t/aggregate/utf8_content_length.t
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
efce447
..
00c0c80
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-7,6
+7,7
@@
output that cookie (rather than trying to do so and causing an exception
as previously happened). A warning is logged if this occurs in debug
mode.
+ - Update tests to ignore $ENV{CATALYST_HOME} where required
5.80032 2011-02-23 01:10:00
diff --git
a/t/aggregate/unit_core_path_to.t
b/t/aggregate/unit_core_path_to.t
index
f4fe89f
..
823e626
100644
(file)
--- a/
t/aggregate/unit_core_path_to.t
+++ b/
t/aggregate/unit_core_path_to.t
@@
-27,6
+27,8
@@
use_ok('Catalyst');
my $context = 'Catalyst';
+delete $ENV{CATALYST_HOME}; # otherwise it'll set itself up to the wrong place
+
$context->setup_home;
my $base = dir($FindBin::Bin)->relative->stringify;
diff --git
a/t/aggregate/utf8_content_length.t
b/t/aggregate/utf8_content_length.t
index
86297e8
..
64d4eb8
100644
(file)
--- a/
t/aggregate/utf8_content_length.t
+++ b/
t/aggregate/utf8_content_length.t
@@
-5,6
+5,8
@@
use lib "$Bin/../lib";
use File::Spec;
use Test::More;
+BEGIN { delete $ENV{CATALYST_HOME} }
+
use Catalyst::Test qw/TestAppEncoding/;
if ( $ENV{CATALYST_SERVER} ) {