X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9017317669b19883493fa18dc0c4900bab87ae96..f5588e5c01baf3084ad42d8be506c4698b1affce:/services/api/test/test_helper.rb diff --git a/services/api/test/test_helper.rb b/services/api/test/test_helper.rb index d59b44926f..216dd2d02d 100644 --- a/services/api/test/test_helper.rb +++ b/services/api/test/test_helper.rb @@ -49,6 +49,10 @@ class ActiveSupport::TestCase Thread.current[:api_client_uuid] = nil Thread.current[:api_client] = nil Thread.current[:user] = nil + restore_configuration + end + + def restore_configuration # Restore configuration settings changed during tests $application_config.each do |k,v| if k.match /^[^.]*$/