X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0ecbb08536d02433272e62cf1878edd7927f66e1..093ec98e4a065acfc537ea22c08c337c115fe273:/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