X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a1def9bcfa954a7442f95e965f300a3e73e4f83f..759878e0a72644c5e537c51da9806672cf92e458:/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 /^[^.]*$/