test adjustments for WebGUI::Paths

This commit is contained in:
Graham Knop 2010-03-11 07:27:01 -06:00
parent 65e858ff4d
commit 7afda00d9b
26 changed files with 127 additions and 132 deletions

View file

@ -164,7 +164,7 @@ sub new {
return $config{$filename};
}
else {
my $self = $class->SUPER::new($fullPath);
my $self = $class->SUPER::new($filename);
$config{$filename} = $self unless $noCache;
return $self;
}
@ -186,7 +186,7 @@ sub readAllConfigs {
my @configs = WebGUI::Paths->siteConfigs;
my %configs = map {
$_ => $class->new($_);
} @configs
} @configs;
return \%configs;
}