From 6d4f2c40d1e58bfa2183d7bfb335f0b0c5a093cb Mon Sep 17 00:00:00 2001 From: Mike Lady Date: Sat, 3 Jan 2026 17:22:39 -0800 Subject: [PATCH] fix(test): Update htmx refresh test to expect 10s interval MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The template was updated to refresh every 10s (2bb1f1e) but the test still expected 30s. Update test to match the new intended behavior. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- internal/web/templates_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/web/templates_test.go b/internal/web/templates_test.go index f428fb71..406405a8 100644 --- a/internal/web/templates_test.go +++ b/internal/web/templates_test.go @@ -137,8 +137,8 @@ func TestConvoyTemplate_HtmxAutoRefresh(t *testing.T) { if !strings.Contains(output, "hx-trigger") { t.Error("Template should contain hx-trigger for auto-refresh") } - if !strings.Contains(output, "every 30s") { - t.Error("Template should refresh every 30 seconds") + if !strings.Contains(output, "every 10s") { + t.Error("Template should refresh every 10 seconds") } }