--no-video flag

This commit is contained in:
Dmitry Sergeev
2026-09-17 22:46:11 +03:00
parent e30cb7a168
commit 4d9485220a
4 changed files with 140 additions and 18 deletions
+15
View File
@@ -0,0 +1,15 @@
package app
import (
"strings"
"testing"
)
func TestValidateConfigRejectsNoFlows(t *testing.T) {
err := validateConfig(Config{
Domain: "/unused",
})
if err == nil || !strings.Contains(err.Error(), "at least one media flow") {
t.Fatalf("error = %v, want no-flow validation error", err)
}
}