X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/964ab3dd90ff1508efc0c77378cde2b3a4da1029..0446c0a3a433936985d6f46b0eab9b253ed98e80:/services/api/test/functional/database_controller_test.rb diff --git a/services/api/test/functional/database_controller_test.rb b/services/api/test/functional/database_controller_test.rb index 4bda0d0f11..ef1d0c6d05 100644 --- a/services/api/test/functional/database_controller_test.rb +++ b/services/api/test/functional/database_controller_test.rb @@ -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