From e439a76634100c0c8a311cba334863e5afb14c4c Mon Sep 17 00:00:00 2001 From: Joxit Date: Fri, 14 May 2021 00:15:02 +0200 Subject: [PATCH] test: fix notification tests --- tests/config.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/config.rs b/tests/config.rs index 12a2003..c3c3275 100644 --- a/tests/config.rs +++ b/tests/config.rs @@ -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);