Skip to content
Snippets Groups Projects
Commit 34a0c57a authored by OZGCloud's avatar OZGCloud
Browse files

OZG-3961 cleanup

parent 7237bd49
No related branches found
No related tags found
No related merge requests found
...@@ -39,11 +39,12 @@ public class UserRepresentationTestFactory { ...@@ -39,11 +39,12 @@ public class UserRepresentationTestFactory {
public static final String ROLE1 = "role1"; public static final String ROLE1 = "role1";
public static UserRepresentation create() { public static UserRepresentation create() {
UserRepresentation user = new UserRepresentation(); var user = new UserRepresentation();
user.setUsername(USERNAME); user.setUsername(USERNAME);
user.setFirstName(FIRSTNAME); user.setFirstName(FIRSTNAME);
user.setLastName(LASTNAME); user.setLastName(LASTNAME);
user.setClientRoles(new HashMap<>(Map.of(CLIENT_NAME, List.of(ROLE1)))); user.setClientRoles(new HashMap<>(Map.of(CLIENT_NAME, List.of(ROLE1))));
return user; return user;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment