21904: Allow queueing "create log" requests.
[arvados.git] / services / api / test / helpers / docker_migration_helper.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 module DockerMigrationHelper
6   include CurrentApiClient
7
8   def add_docker19_migration_link
9     act_as_system_user do
10       assert(Link.create!(owner_uuid: system_user_uuid,
11                           link_class: 'docker_image_migration',
12                           name: 'migrate_1.9_1.10',
13                           tail_uuid: collections(:docker_image).portable_data_hash,
14                           head_uuid: collections(:docker_image_1_12).portable_data_hash))
15     end
16   end
17 end