1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
8 class IndexTest < ActionDispatch::IntegrationTest
10 puts("Get links index: ", Benchmark.measure do
11 get '/arvados/v1/links', params: {
14 }, headers: auth(:admin)
17 def test_links_index_with_filters
18 puts("Get links index with filters: ", Benchmark.measure do
19 get '/arvados/v1/links', params: {
21 filters: [%w[head_uuid is_a arvados#collection]].to_json
22 }, headers: auth(:admin)
25 def test_collections_index
26 puts("Get collections index: ", Benchmark.measure do
27 get '/arvados/v1/collections', params: {
29 }, headers: auth(:admin)