From d565099f3b5a69419baf782db4d11154a63545b9 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Sun, 7 Apr 2024 12:47:17 +0200 Subject: [PATCH] remove unnecessary method, which had no effect anyway --- .../hs/office/migration/ImportOfficeData.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java b/src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java index 7cbb0473..a763804a 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/migration/ImportOfficeData.java @@ -218,23 +218,6 @@ public class ImportOfficeData extends ContextBasedTest { } } - @Test - @Order(1021) - void buildDebitorRelations() { - debitors.forEach( (id, debitor) -> { - final var debitorRel = HsOfficeRelationEntity.builder() - .type(HsOfficeRelationType.DEBITOR) - .anchor(debitor.getPartner().getPartnerRel().getHolder()) - .holder(debitor.getPartner().getPartnerRel().getHolder()) // just 1 debitor/partner in legacy hsadmin - // FIXME .contact() - .build(); - if (debitorRel.getAnchor() != null && debitorRel.getHolder() != null && - debitorRel.getContact() != null ) { - relations.put(relationId++, debitorRel); - } - }); - } - @Test @Order(1029) void verifyContacts() {