X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cf1dcfb8715822f7ac5fe4fce067197dd84bad54..6ba9fdc006d023fe1a56cd28fb87a54dff5265d8:/services/api/test/test_helper.rb diff --git a/services/api/test/test_helper.rb b/services/api/test/test_helper.rb index 5747a85cf5..12f729e338 100644 --- a/services/api/test/test_helper.rb +++ b/services/api/test/test_helper.rb @@ -2,6 +2,8 @@ # # SPDX-License-Identifier: AGPL-3.0 +require 'refresh_permission_view' + ENV["RAILS_ENV"] = "test" unless ENV["NO_COVERAGE_TEST"] begin @@ -207,4 +209,5 @@ class ActionDispatch::IntegrationTest end # Ensure permissions are computed from the test fixtures. -User.invalidate_permissions_cache +refresh_permission_view +refresh_trashed