remove WebGUI::Config->readAllConfigs

This commit is contained in:
Graham Knop 2011-07-05 08:40:13 -05:00
parent 106d888e97
commit 4959bfc979
2 changed files with 4 additions and 27 deletions

View file

@ -11,7 +11,7 @@
use strict;
use WebGUI::Test;
use Test::More tests => 14; # increment this value for each test you create
use Test::More tests => 13; # increment this value for each test you create
use Test::Deep;
use File::Basename qw(basename);
use Cwd;
@ -25,7 +25,6 @@ is( ref $config->get("macros"), "HASH", "get() macros hash" );
is( ref $config->get("assets"), "HASH", "get() assets hash" );
is( ref $config->get("shippingDrivers"), "ARRAY", "get() shippingDrivers array" );
is( $config->getFilename, basename($configFile), "getFilename()" );
ok( defined WebGUI::Config->readAllConfigs, "readAllConfigs" );
$config->addToArray("shippingDrivers","TEST");
my $found = 0;
foreach my $driver ( @{$config->get("shippingDrivers")}) {