Revert "use temp config file for testing"
This reverts commit 9b725c6d42.
This commit is contained in:
parent
ce6f70ca94
commit
6c3369d0cb
22 changed files with 94 additions and 57 deletions
2
t/User.t
2
t/User.t
|
|
@ -483,6 +483,7 @@ $dude->deleteFromGroups([12]);
|
|||
my $origEnvHash = $session->env->{_env};
|
||||
my %newEnv = ( REMOTE_ADDR => '194.168.0.2' );
|
||||
$session->env->{_env} = \%newEnv;
|
||||
WebGUI::Test->originalConfig('adminModeSubnets');
|
||||
$session->config->set('adminModeSubnets', ['194.168.0.0/24']);
|
||||
|
||||
ok(!$dude->isInGroup(12), 'user is not in group 12');
|
||||
|
|
@ -834,6 +835,7 @@ isa_ok( $newCreateUser, 'WebGUI::User', 'create() returns a WebGUI::User' );
|
|||
################################################################
|
||||
$session->setting->set('preventProxyCache', 0);
|
||||
|
||||
WebGUI::Test->originalConfig('profileModuleIdentifier');
|
||||
my $profileModuleId = $session->config->get('profileModuleIdentifier');
|
||||
is(
|
||||
$newFish->getProfileUrl('cellblock'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue