Skip to content

Commit

Permalink
test: fix notification tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed May 13, 2021
1 parent e6758b4 commit e439a76
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ fn notification_yaml() {
Some(":rocket:".to_string()),
None,
);
let notification = Notification::new(Some(slack), None, WhenNotify::Always, Messages::default());
let print = Print::new("stderr".to_string(), None);
let notification = Notification::new(
Some(slack),
Some(print),
WhenNotify::Always,
Messages::default(),
);

assert_eq!(*config.notification(), Some(notification));
assert_eq!(config.concurrency(), -1);
Expand Down

0 comments on commit e439a76

Please sign in to comment.