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) })