+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
require 'test_helper'
class PermissionsTest < ActionDispatch::IntegrationTest
include CurrentApiClient # for empty_collection
fixtures :users, :groups, :api_client_authorizations, :collections
- teardown do
- User.invalidate_permissions_cache db_current_time.to_i
- end
-
test "adding and removing direct can_read links" do
# try to read collection as spectator
get "/arvados/v1/collections/#{collections(:foo_file).uuid}", {:format => :json}, auth(:spectator)