[ARVADOS] updated: 2.1.0-2320-g42f0e9537

Git user git at public.arvados.org
Fri Apr 15 15:40:42 UTC 2022


Summary of changes:
 services/api/test/functional/arvados/v1/groups_controller_test.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  42f0e9537015af9f9002be0c3f0dfce52bc97b40 (commit)
      from  733e8c44dacf230d605fe6e5ea3f95f0abb8d823 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 42f0e9537015af9f9002be0c3f0dfce52bc97b40
Author: Ward Vandewege <ward at curii.com>
Date:   Fri Apr 15 11:40:23 2022 -0400

    18995: fix test oddity.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

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 369a10d45..cfcb33d40 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,

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list