Skip to content

Commit f60b3a2

Browse files
committed
Tests: fix xslt_rewrite_media test for new Axum route syntax
1 parent 9c9f96b commit f60b3a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/xslt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async fn test_xslt_rewrite_media() -> Result<()> {
8484
.route("/mpd", get(
8585
|| async { ([(header::CONTENT_TYPE, "application/dash+xml")], xml) }))
8686
.route("/media/init.mp4", get(send_init))
87-
.route("/media/segment-:id.mp4", get(send_media))
87+
.route("/media/{seg}", get(send_media))
8888
.route("/status", get(send_status))
8989
.with_state(shared_state);
9090
let server_handle = hyper_serve::Handle::new();

0 commit comments

Comments
 (0)