Skip to content

Commit 091554a

Browse files
committed
Updated exception message.
1 parent 2d8c62f commit 091554a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/com/objectcomputing/checkins/services/memberprofile/MemberProfileControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void testDeleteThrowsExceptionIfMemberHasPDLRole() {
154154

155155
assertEquals(HttpStatus.BAD_REQUEST, responseException.getStatus());
156156
assertEquals(
157-
String.format("User %s cannot be deleted since user has PDL role", MemberProfileUtils.getFullName(pdl)),
157+
String.format("User %s cannot be deleted since user has one or more roles", MemberProfileUtils.getFullName(pdl)),
158158
responseException.getMessage()
159159
);
160160
}

0 commit comments

Comments
 (0)