Created
October 8, 2009 19:39
-
-
Save perlDreamer/205293 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/t/lib/WebGUI/Test.pm b/t/lib/WebGUI/Test.pm | |
index 04b6eb9..07f96b5 100644 | |
--- a/t/lib/WebGUI/Test.pm | |
+++ b/t/lib/WebGUI/Test.pm | |
@@ -74,6 +74,8 @@ our @EXPORT_OK = qw(session config); | |
my $CLASS = __PACKAGE__; | |
my @guarded; | |
+ | |
+our $SESSION; | |
sub import { | |
our $CONFIG_FILE = $ENV{ WEBGUI_CONFIG }; | |
@@ -88,7 +90,7 @@ sub import { | |
unless -r _; | |
$CONFIG_FILE = File::Spec->abs2rel($CONFIG_FILE, File::Spec->catdir($CLASS->root, 'etc')); | |
- my $session = our $SESSION = $CLASS->newSession(1); | |
+ my $session = $SESSION = $CLASS->newSession(1); | |
my $originalSetting = clone $session->setting->get; | |
push @guarded, Scope::Guard->new(sub { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment