1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
7 class TrashItemsControllerTest < ActionController::TestCase
8 test "untrash collection with same name as another collection" do
9 collection = api_fixture('collections')['trashed_collection_to_test_name_conflict_on_untrash']
10 items = [collection['uuid']]
11 post :untrash_items, params: {
14 }, session: session_for(:active)
16 assert_response :success