fix(datasource): align Feishu connector capabilities
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user