Change tests to use the automatic backup of Settings in END blocks.
This commit is contained in:
parent
6f3aae261b
commit
4e78593395
23 changed files with 13 additions and 93 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue