From: Ward Vandewege Date: Fri, 15 Apr 2022 15:40:23 +0000 (-0400) Subject: 18995: fix test oddity. X-Git-Tag: 2.5.0~204^2~1 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/42f0e9537015af9f9002be0c3f0dfce52bc97b40 18995: fix test oddity. Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- diff --git a/services/api/test/functional/arvados/v1/groups_controller_test.rb b/services/api/test/functional/arvados/v1/groups_controller_test.rb index 369a10d45e..cfcb33d40a 100644 --- a/services/api/test/functional/arvados/v1/groups_controller_test.rb +++ b/services/api/test/functional/arvados/v1/groups_controller_test.rb @@ -790,14 +790,14 @@ class Arvados::V1::GroupsControllerTest < ActionController::TestCase # the group class overrides the destroy method. Make sure that the destroyed # object is returned [ - [group_class: "project"], - [group_class: "role"], - [group_class: "filter", properties: {"filters":[]}], + {group_class: "project"}, + {group_class: "role"}, + {group_class: "filter", properties: {"filters":[]}}, ].each do |params| test "destroy group #{params} returns object" do authorize_with :active - group = Group.create!(params).first + group = Group.create!(params) post :destroy, params: { id: group.uuid,