add @test verifyMembershipsActuallyPersisted
This commit is contained in:
parent
b41dce5c6c
commit
cebba7fe24
@ -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