From 4535a38ad8cdc1ad7cc1fcc649cc2cd40c76475e Mon Sep 17 00:00:00 2001 From: Jake Daynes Date: Fri, 13 Mar 2026 02:38:02 -0700 Subject: [PATCH] fix: update rtsp url builder test to use secure flag --- internal/attack/rtsp_url_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/attack/rtsp_url_test.go b/internal/attack/rtsp_url_test.go index d1a746f..bf2951f 100644 --- a/internal/attack/rtsp_url_test.go +++ b/internal/attack/rtsp_url_test.go @@ -95,7 +95,7 @@ func TestBuildRTSPURL(t *testing.T) { t.Run(test.name, func(t *testing.T) { s := stream s.Secure = test.secure - _, gotURL, err := buildRTSPURL(stream, test.route, test.username, test.password) + _, gotURL, err := buildRTSPURL(s, test.route, test.username, test.password) require.NoError(t, err) require.Equal(t, test.wantURL, gotURL) })