fix import-office-data alias / gw importOfficeData
This commit is contained in:
parent
618b9f9332
commit
09314a4e8a
@ -183,7 +183,7 @@ public class ImportOfficeData extends ContextBasedTest {
|
||||
assertThat(toFormattedString(memberships)).isEqualToIgnoringWhitespace("""
|
||||
{
|
||||
17=Membership(10017, null null, null, 1001700, [2000-12-06,), NONE),
|
||||
20=Membership(10020, null null, null, 1002000, [2000-12-06,2016-01-01), UNKNOWN),
|
||||
20=Membership(10020, null null, null, 1002000, [2000-12-06,2016-01-01), UNKNOWN),
|
||||
22=Membership(11022, null null, null, 1102200, [2021-04-01,), NONE)
|
||||
}
|
||||
""");
|
||||
@ -330,6 +330,10 @@ public class ImportOfficeData extends ContextBasedTest {
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
assumeThat(postgresAdminUser).isEqualTo("admin");
|
||||
|
||||
assertThat(coopAssets.toString()).isEqualToIgnoringWhitespace("""
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -610,6 +614,7 @@ public class ImportOfficeData extends ContextBasedTest {
|
||||
: HsOfficeCoopSharesTransactionType.ADJUSTMENT
|
||||
)
|
||||
.shareCount(rec.getInteger("quantity"))
|
||||
.reference(rec.getString("comment"))
|
||||
.comment(rec.getString("comment"))
|
||||
.build();
|
||||
|
||||
@ -1029,10 +1034,7 @@ class OrderedDependedTestsExtension implements TestWatcher, BeforeEachCallback {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void beforeEach(final ExtensionContext extensionContext) {
|
||||
if (!previousTestsPassed) {
|
||||
System.err.println("ignoring because previous fest has failed");
|
||||
}
|
||||
public void beforeEach(final ExtensionContext extensionContext) throws Exception {
|
||||
assumeThat(previousTestsPassed).isTrue();
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user