fix(test): Update htmx refresh test to expect 10s interval

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 <noreply@anthropic.com>
This commit is contained in:
Mike Lady
2026-01-03 17:22:39 -08:00
parent 2bb1f1e726
commit 6d4f2c40d1

View File

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