Skip to content

Commit

Permalink
chore: optimize video download unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Okabe-Rintarou-0 committed Jan 15, 2025
1 parent 0a19218 commit 66cb8ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src-tauri/src/client/video.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,9 @@ mod tests {
#[tokio::test]
async fn test_download_video() -> Result<()> {
let cli = Arc::new(Client::new());
let video_url = "https://www.w3schools.com/html/mov_bbb.mp4";
// let video_url = "https://www.w3schools.com/html/mov_bbb.mp4";
// a bigger one, more than one video block
let video_url = "https://download.samplelib.com/mp4/sample-10s.mp4";
let save_path = "test.mp4";
let video_info = VideoPlayInfo {
rtmp_url_hdv: video_url.to_owned(),
Expand Down

0 comments on commit 66cb8ad

Please sign in to comment.