11453: Move remote token validation to middleware. Bypass Ruby SDK.
[arvados.git] / services / api / test / integration / permissions_test.rb
index f8f1e254bf7c2f38e394ef607bb4cf8013f2041e..49fa473b6b9a08460fe805708ecea385e1a7f26b 100644 (file)
@@ -9,10 +9,6 @@ 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)