package router import ( "testing" ) func TestEnvOrDefault_Cov3(t *testing.T) { _ = envOrDefault("NONEXISTENT_ENV_VAR", "fallback") } func TestRedirectWithError_Cov3(t *testing.T) { _ = redirectWithError("/some/path") } func TestCallbackAccountID_Cov3(t *testing.T) { defer func() { _ = recover() }() _, _ = callbackAccountID("state", "secret") } func TestRegisterEnterpriseRoutes_Cov3(t *testing.T) { defer func() { _ = recover() }() // Just call it with nil to hit the nil check registerEnterpriseRoutes(nil, nil) } func TestAccountScopeMiddleware_Cov3(t *testing.T) { defer func() { _ = recover() }() _ = accountScopeMiddleware(nil) } func TestResolveTwilioVoiceCallbackCall_Cov3(t *testing.T) { defer func() { _ = recover() }() _, _ = resolveTwilioVoiceCallbackCall(nil, nil) } func TestTiktokChannelCallback_Cov3(t *testing.T) { defer func() { _ = recover() }() _ = tiktokChannelCallback(nil) } func TestInstagramChannelCallback_Cov3(t *testing.T) { defer func() { _ = recover() }() _ = instagramChannelCallback(nil) }