improve-performance-of-office-data-import #83
@ -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() {
|
protected void assumeThatWeAreExplicitlyImportingOfficeData() {
|
||||||
// not throwing AssumptionException
|
// not throwing AssumptionException
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user