X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0066dc77abc461090fe98bcee7c6e324a5ca43a1..c03195617369efedab9e14392c5ed14bb8700590:/apps/workbench/test/controllers/work_units_controller_test.rb diff --git a/apps/workbench/test/controllers/work_units_controller_test.rb b/apps/workbench/test/controllers/work_units_controller_test.rb index 12e0271260..6f74955cd1 100644 --- a/apps/workbench/test/controllers/work_units_controller_test.rb +++ b/apps/workbench/test/controllers/work_units_controller_test.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' class WorkUnitsControllerTest < ActionController::TestCase @@ -28,7 +32,7 @@ class WorkUnitsControllerTest < ActionController::TestCase '/container_requests/zzzzz-xvhdp-cr4completedcr2']], ].each do |search_filter, expected_min, expected_max, expected, not_expected| test "all_processes page for search filter '#{search_filter}'" do - work_units_index(filters: [['any','@@', search_filter]]) + work_units_index(filters: [['any','@@', search_filter]], show_children: true) assert_response :success # Verify that expected number of processes are found @@ -63,6 +67,6 @@ class WorkUnitsControllerTest < ActionController::TestCase encoded_params = Hash[params.map { |k,v| [k, (v.is_a?(Array) || v.is_a?(Hash)) ? v.to_json : v] }] - get :index, encoded_params, session_for(:active) + get :index, params: encoded_params, session: session_for(:active) end end