import-debitor-relationship (into intermediate data structure) #22

Merged
hsh-michaelhoennig merged 5 commits from import-debitor-relationship into master 2024-03-12 10:13:37 +01:00
Showing only changes of commit abfcbd8d58 - Show all commits

View File

@ -175,7 +175,7 @@ public class ImportOfficeData extends ContextBasedTest {
}
@Test
@Order(1011)
@Order(1019)
void verifyBusinessPartners() {
assumeThatWeAreImportingControlledTestData();
@ -327,7 +327,7 @@ public class ImportOfficeData extends ContextBasedTest {
}
@Test
@Order(1031)
@Order(1039)
void verifySepaMandates() {
assumeThatWeAreImportingControlledTestData();
@ -359,7 +359,7 @@ public class ImportOfficeData extends ContextBasedTest {
}
@Test
@Order(1041)
@Order(1049)
void verifyCoopShares() {
assumeThatWeAreImportingControlledTestData();
@ -386,7 +386,7 @@ public class ImportOfficeData extends ContextBasedTest {
}
@Test
@Order(1051)
@Order(1059)
void verifyCoopAssets() {
assumeThatWeAreImportingControlledTestData();
@ -418,7 +418,7 @@ public class ImportOfficeData extends ContextBasedTest {
}
@Test
@Order(2001)
@Order(2009)
void removeEmptyRelationships() {
assumeThatWeAreImportingControlledTestData();
@ -431,7 +431,7 @@ public class ImportOfficeData extends ContextBasedTest {
idsToRemove.add(id);
}
});
assertThat(idsToRemove.size()).isEqualTo(1); // only from partner #99 (partner+contractual roles)
assertThat(idsToRemove.size()).isEqualTo(9); // only from partner #99 (partner+contractual roles)
idsToRemove.forEach(id -> relationships.remove(id));
}
@ -449,7 +449,7 @@ public class ImportOfficeData extends ContextBasedTest {
idsToRemove.add(id);
}
});
assertThat(idsToRemove.size()).isEqualTo(1); // only from partner #99
assertThat(idsToRemove.size()).isEqualTo(9); // only from partner #99
idsToRemove.forEach(id -> partners.remove(id));
}
@ -467,7 +467,7 @@ public class ImportOfficeData extends ContextBasedTest {
idsToRemove.add(id);
}
});
assertThat(idsToRemove.size()).isEqualTo(1); // only from partner #99
assertThat(idsToRemove.size()).isEqualTo(9); // only from partner #99
idsToRemove.forEach(id -> debitors.remove(id));
}