From 58e81a7c02e7ce345ba8db41b8b74e17bce1a616 Mon Sep 17 00:00:00 2001 From: Jake Daynes Date: Fri, 13 Mar 2026 02:21:59 -0700 Subject: [PATCH] fix: update summary test to handle Secure flag --- internal/ui/summary_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/ui/summary_test.go b/internal/ui/summary_test.go index 0b284fc..b9a9070 100644 --- a/internal/ui/summary_test.go +++ b/internal/ui/summary_test.go @@ -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/", },