mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-11 15:03:23 -05:00
fix tests broken with 95dec97
This commit is contained in:
parent
95dec9791c
commit
71e5248c6b
@ -2544,13 +2544,13 @@ mod tests {
|
|||||||
streams: [
|
streams: [
|
||||||
StreamChange {
|
StreamChange {
|
||||||
sample_file_dir_id: Some(sample_file_dir_id),
|
sample_file_dir_id: Some(sample_file_dir_id),
|
||||||
rtsp_url: "rtsp://test-camera/main".to_owned(),
|
rtsp_url: Some(Url::parse("rtsp://test-camera/main").unwrap()),
|
||||||
record: false,
|
record: false,
|
||||||
flush_if_sec: 1,
|
flush_if_sec: 1,
|
||||||
},
|
},
|
||||||
StreamChange {
|
StreamChange {
|
||||||
sample_file_dir_id: Some(sample_file_dir_id),
|
sample_file_dir_id: Some(sample_file_dir_id),
|
||||||
rtsp_url: "rtsp://test-camera/sub".to_owned(),
|
rtsp_url: Some(Url::parse("rtsp://test-camera/sub").unwrap()),
|
||||||
record: true,
|
record: true,
|
||||||
flush_if_sec: 1,
|
flush_if_sec: 1,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user