Merge branch '15209-python-arv-deps-pinned'
[arvados.git] / apps / workbench / test / controllers / containers_controller_test.rb
index ce37239c00bcb566b41ef0f4a8063a3d3499e181..ff7584e20b0317373ca53f642361d337894a3213 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 require 'test_helper'
 
 class ContainersControllerTest < ActionController::TestCase
@@ -6,7 +10,9 @@ class ContainersControllerTest < ActionController::TestCase
 
     container = api_fixture('containers')['completed']
 
-    get :show, {id: container['uuid'], tab_pane: 'Log'}, session_for(:active)
+    get :show,
+        params: {id: container['uuid'], tab_pane: 'Log'},
+        session: session_for(:active)
     assert_response :success
 
     assert_select "a", {:href=>"/collections/#{container['log']}", :text=>"Download the log"}