Academy v0.8.3 完整代码基线:Go 后端(internal/cmd/cli/mcp-server/docreader)、 Vue 前端(frontend)、数据库迁移(migrations)、部署编排(docker/helm/deploy)与文档。 今日开发的培训推送管理改动随后单独提交。
18 lines
379 B
Go
18 lines
379 B
Go
package datasource
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"academy/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")
|
|
}
|
|
}
|
|
}
|