4523: Clear up manifest-signing vs. locator-signing.
[arvados.git] / services / api / test / test_helper.rb
index d59b44926fa88a857ce10b34eaca1b4a5d3cc769..216dd2d02d9ebaf3ab7b9fcd4345ad05bd374c9f 100644 (file)
@@ -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 /^[^.]*$/