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 <msr@mm-software.com>
  • Loading branch information
MM-msr committed Sep 2, 2024
1 parent 6064b54 commit d8e4779
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,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 d8e4779

Please sign in to comment.