From 71e5248c6ba7edcbd4c85ad59e0d9082971f9cfd Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Mon, 23 Aug 2021 15:58:12 -0700 Subject: [PATCH] fix tests broken with 95dec97 --- server/db/db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/db/db.rs b/server/db/db.rs index 3a95dc9..3c22e63 100644 --- a/server/db/db.rs +++ b/server/db/db.rs @@ -2544,13 +2544,13 @@ mod tests { streams: [ StreamChange { 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, flush_if_sec: 1, }, StreamChange { 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, flush_if_sec: 1, },