X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1a0a58c4f22af82e0a37440af3b0948771bca5e1..6d5e04a731edc9ce8944ecea637070afbdadeb05:/apps/workbench/test/functional/collections_controller_test.rb diff --git a/apps/workbench/test/functional/collections_controller_test.rb b/apps/workbench/test/functional/collections_controller_test.rb index f86c50a267..8c6aeab532 100644 --- a/apps/workbench/test/functional/collections_controller_test.rb +++ b/apps/workbench/test/functional/collections_controller_test.rb @@ -56,8 +56,8 @@ class CollectionsControllerTest < ActionController::TestCase end test "viewing a collection fetches related projects" do - show_collection(:foo_file, :active) - assert_includes(assigns(:projects).map(&:uuid), + show_collection({id: api_fixture('collections')["foo_file"]['portable_data_hash']}, :active) + assert_includes(assigns(:same_pdh).map(&:owner_uuid), api_fixture('groups')['aproject']['uuid'], "controller did not find linked project") end