Merge branch '8784-dir-listings'
[arvados.git] / services / api / test / functional / database_controller_test.rb
index 4bda0d0f116ee5801003329d752cc241316a25f1..ef1d0c6d05e6486e40a3e6456eac99f074d7a24f 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 require 'test_helper'
 
 class DatabaseControllerTest < ActionController::TestCase
@@ -15,7 +19,7 @@ class DatabaseControllerTest < ActionController::TestCase
     begin
       Rails.env = 'production'
       Rails.application.reload_routes!
-      assert_raises ActionController::RoutingError do
+      assert_raises ActionController::UrlGenerationError do
         post :reset
       end
     ensure