Skip to content

Commit

Permalink
fixed test error for invalid cron config (add mandatory setters)
Browse files Browse the repository at this point in the history
Signed-off-by: Max Schiller <[email protected]>
  • Loading branch information
MM-msr authored and mge-mm committed Oct 25, 2024
1 parent e5f414e commit 0e62f59
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ public void createScheduledNotificationRuleWithInvalidCronConfigTest() {
NotificationPublisher publisher = new NotificationPublisher();
publisher.setUuid(UUID.randomUUID());
ScheduledNotificationRule rule = new ScheduledNotificationRule();
rule.setName("Example Rule");
rule.setScope(NotificationScope.PORTFOLIO);
rule.setEnabled(true);
rule.setCronConfig("A B C D E");
rule.setLastExecutionTime(ZonedDateTime.now());
Response response = jersey.target(V1_SCHEDULED_NOTIFICATION_RULE).request()
Expand Down

0 comments on commit 0e62f59

Please sign in to comment.