fix tests broken with 95dec97

This commit is contained in:
Scott Lamb 2021-08-23 15:58:12 -07:00
parent 95dec9791c
commit 71e5248c6b

View File

@ -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,
}, },