Change tests to use the automatic backup of Settings in END blocks.

This commit is contained in:
Colin Kuskie 2009-03-30 20:41:02 +00:00
parent 6f3aae261b
commit 4e78593395
23 changed files with 13 additions and 93 deletions

View file

@ -199,7 +199,6 @@ $session->{_asset} = $sessionAsset;
####################################################
##Force settings
my $origPreventProxyCache = $session->setting->get('preventProxyCache');
$session->setting->set('preventProxyCache', 0);
##Clear request object for next two tests
@ -432,5 +431,4 @@ sub deltaHttpTimes {
END {
$session->setting->set('preventProxyCache', $origPreventProxyCache);
}