Commit fd4cf4c4 authored by Martin Lowe's avatar Martin Lowe 🇨🇦 Committed by Martin Lowe
Browse files

Fix broken test (wgs optional in form completion)

parent 9b47b5a3
...@@ -137,9 +137,6 @@ class DefaultMailerServiceTest { ...@@ -137,9 +137,6 @@ class DefaultMailerServiceTest {
Assertions.assertThrows(IllegalStateException.class, () -> { Assertions.assertThrows(IllegalStateException.class, () -> {
mailerService.sendToMembershipTeam(f, org, wgs, null); mailerService.sendToMembershipTeam(f, org, wgs, null);
}); });
Assertions.assertThrows(IllegalStateException.class, () -> {
mailerService.sendToMembershipTeam(f, org, Collections.emptyList(), contacts);
});
Assertions.assertThrows(IllegalStateException.class, () -> { Assertions.assertThrows(IllegalStateException.class, () -> {
mailerService.sendToMembershipTeam(f, org, wgs, Collections.emptyList()); mailerService.sendToMembershipTeam(f, org, wgs, Collections.emptyList());
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment