improve-performance-of-office-data-import #83

Merged
hsh-michaelhoennig merged 12 commits from improve-performance-of-office-data-import into master 2024-08-05 11:48:34 +02:00
Showing only changes of commit cebba7fe24 - Show all commits

View File

@ -693,6 +693,13 @@ public class ImportOfficeData extends CsvDataImport {
}
@Test
@Order(9190)
void verifyMembershipsActuallyPersisted() {
final var biCount = (Integer) em.createNativeQuery("SELECT count(*) FROM hs_office_membership", Integer.class).getSingleResult();
assertThat(biCount).isGreaterThan(isImportingControlledTestData() ? 5 : 300);
}
protected void assumeThatWeAreExplicitlyImportingOfficeData() {
// not throwing AssumptionException
}