diff --git a/user-manager-server/src/test/java/de/ozgcloud/user/GroupRepresentationTestFactory.java b/user-manager-server/src/test/java/de/ozgcloud/user/GroupRepresentationTestFactory.java
index 091dd033210f9fa498e2b303adc8de3b465548e4..617f124641d8366a8785c3951a3a6ea5fed7c201 100644
--- a/user-manager-server/src/test/java/de/ozgcloud/user/GroupRepresentationTestFactory.java
+++ b/user-manager-server/src/test/java/de/ozgcloud/user/GroupRepresentationTestFactory.java
@@ -36,12 +36,7 @@ class GroupRepresentationTestFactory {
 	}
 
 	public static GroupRepresentation createByPathAndOrganisationEinheitId(String groupPath, String organisationEinheitId) {
-		var groupRepresentation = new GroupRepresentation();
-		groupRepresentation.setName(groupPath);
-		groupRepresentation.setPath(groupPath);
-		groupRepresentation.setAttributes(Map.of(UserResourceMapperTest.ORGANISATIONS_EINHEIT_ID_KEY,
-				List.of(organisationEinheitId)));
-		return groupRepresentation;
+		return createByPathAndOrganisationEinheitIds(groupPath, List.of(organisationEinheitId));
 	}
 
 	public static GroupRepresentation createByPathAndOrganisationEinheitIds(String groupPath, List<String> organisationEinheitIds) {