Merge branch '12167-python-request-id'
[arvados.git] / services / api / test / functional / arvados / v1 / groups_controller_test.rb
index 0fa843071823f17935478e7955e4a8bd95615244..3442eda2447aa1e75ecc254b3ffcfb2392853a8f 100644 (file)
@@ -704,17 +704,5 @@ class Arvados::V1::GroupsControllerTest < ActionController::TestCase
       assert_response :success
       assert_not_nil Group.readable_by(users(auth)).where(uuid: groups(:trashed_subproject).uuid).first
     end
-
-  end
-
-  test "list readable groups with salted token" do
-    salted_token = salt_token(fixture: :active, remote_id: 'zbbbb')
-    ArvadosApiToken.new.call("rack.input" => "",
-                             "HTTP_AUTHORIZATION" => "Bearer #{salted_token}")
-    get :index, {remote_id: 'zbbbb', limit: 10000}
-    assert_response 200
-    group_uuids = json_response['items'].collect { |i| i['uuid'] }
-    assert_includes(group_uuids, 'zzzzz-j7d0g-fffffffffffffff')
-    refute_includes(group_uuids, 'zzzzz-j7d0g-000000000000000')
   end
 end