Files

18 lines
398 B
Go
Raw Permalink Normal View History

package datasource
import (
"testing"
"github.com/Tencent/WeKnora/internal/types"
)
func TestFeishuMetadataDoesNotAdvertiseWebhook(t *testing.T) {
meta := ConnectorMetadataRegistry[types.ConnectorTypeFeishu]
for _, capability := range meta.Capabilities {
if capability == "webhook" {
t.Fatalf("Feishu connector should not advertise webhook until webhook sync is implemented")
}
}
}