fix: update summary test to handle Secure flag

This commit is contained in:
Jake Daynes
2026-03-13 02:21:59 -07:00
parent a3ab13cbf5
commit 58e81a7c02
+2 -1
View File
@@ -46,6 +46,7 @@ func TestFormatSummary(t *testing.T) {
Device: "Model A",
Address: netip.MustParseAddr("10.0.0.1"),
Port: 8554,
Secure: true,
Available: true,
Routes: []string{"stream1", "stream2"},
RouteFound: true,
@@ -73,7 +74,7 @@ func TestFormatSummary(t *testing.T) {
"Authentication: digest",
"Routes: stream1, stream2",
"Credentials: user:pass",
"RTSP URL: rtsp://user:pass@10.0.0.1:8554/stream1",
"RTSP URL: rtsps://user:pass@10.0.0.1:8554/stream1",
"Admin panel: http://10.0.0.1/",
"Admin panel: http://10.0.0.2/",
},