From 3e98da8f0cc2ebe8e17cd5aa129bdfebdb0393fe Mon Sep 17 00:00:00 2001 From: chasegawa Date: Thu, 24 Jun 2021 21:59:46 -0700 Subject: [PATCH] SHIBUI-1848 Adjusting user test --- .../controller/GroupsControllerIntegrationTests.groovy | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/GroupsControllerIntegrationTests.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/GroupsControllerIntegrationTests.groovy index 4b83af244..3b514c065 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/GroupsControllerIntegrationTests.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/security/controller/GroupsControllerIntegrationTests.groovy @@ -180,9 +180,7 @@ class GroupsControllerIntegrationTests extends Specification { @WithMockUser(value = "admin", roles = ["ADMIN"]) def 'DELETE performs correctly when group attached to a user'() { given: - def group = [name: 'A1', - description: 'AAA Group', - resourceId: 'AAA'] + def group = [resourceId: 'AAA'] def newUser = [firstName: 'Foo', lastName: 'Bar', username: 'FooBar', @@ -211,7 +209,7 @@ class GroupsControllerIntegrationTests extends Specification { "username" : "FooBar", "createdBy" : admin, "lastName" : "Bar", - "group" : {"description":"AAA Group","name":"A1","resourceId":"AAA"} + "group" : {"resourceId":"AAA"} }""" then: 'Request completed with HTTP 200 and returned one user' userresult.andExpect(status().isOk())