diff --git a/Kitodo/src/test/java/org/kitodo/MockDatabase.java b/Kitodo/src/test/java/org/kitodo/MockDatabase.java index 0ca4fd2f7d4..e5763fa0c58 100644 --- a/Kitodo/src/test/java/org/kitodo/MockDatabase.java +++ b/Kitodo/src/test/java/org/kitodo/MockDatabase.java @@ -452,9 +452,6 @@ public static void insertAuthorities() throws DAOException { // Assign import configurations to clients authorities.add(new Authority("assignImportConfigurationToClient" + GLOBAL_ASSIGNABLE)); - // Use mass import - authorities.add(new Authority("useMassImport" + CLIENT_ASSIGNABLE)); - for (Authority authority : authorities) { ServiceManager.getAuthorityService().saveToDatabase(authority); } @@ -1543,9 +1540,6 @@ private static void insertRoles() throws DAOException { firstRole.getAuthorities().add(allAuthorities.get(i)); } - firstRole.setAuthorities(Collections.singletonList(ServiceManager.getAuthorityService() - .getByTitle("useMassImport" + CLIENT_ASSIGNABLE))); - ServiceManager.getRoleService().saveToDatabase(firstRole); Role secondRole = new Role();