commit: | 01b1b276bf44dcd591ddedd899a1c2942d4d8f82 |
author: | Trevor Bentley |
committer: | Trevor Bentley |
date: | Tue Jan 16 23:32:55 2018 +0100 |
parents: | ab1b83dec6af94b660716c8ab1c47923523b192d |
diff --git a/src/webapi/mod.rs b/src/webapi/mod.rs line changes: +2/-0 index 0bd957a..de4594f --- a/src/webapi/mod.rs +++ b/src/webapi/mod.rs
@@ -325,6 +325,8 @@ impl<'a> From<&'a AlarmConfig> for AlarmEntry { .offset_position(0) .build(), device: alarm.device.clone(), + #[cfg(test)] + now: None, } } }