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]>
Signed-off-by: Marlon Gäthje <[email protected]>
  • Loading branch information
MM-msr authored and mge-mm committed Oct 30, 2024
1 parent c791f29 commit e3d25a7
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 e3d25a7

Please sign in to comment.