0.11.1: 旗舰版完善(资源权限等级/个人环境变量/收藏/企业报表/租户概览/ARM64发布/多渠道接入)
- 迁移 000035-000037(权限等级/环境变量/渠道) - 新增 internal/channel 渠道抽象层(webhook/企微/钉钉/飞书) - 全部功能端到端验证通过(25 包单测)
This commit is contained in:
@@ -147,7 +147,7 @@ func TestMarketplaceLifecycle(t *testing.T) {
|
||||
}
|
||||
|
||||
// Install/uninstall is idempotent and gated by published status.
|
||||
created, err := market.Install(ctx, "skill", "mkt_skill", portalUserID)
|
||||
created, err := market.Install(ctx, "skill", "mkt_skill", portalUserID, "use")
|
||||
if err != nil || !created {
|
||||
t.Fatalf("install created=%v err=%v", created, err)
|
||||
}
|
||||
@@ -155,7 +155,7 @@ func TestMarketplaceLifecycle(t *testing.T) {
|
||||
if err != nil || !installed {
|
||||
t.Fatalf("installed=%v err=%v", installed, err)
|
||||
}
|
||||
createdAgain, err := market.Install(ctx, "skill", "mkt_skill", portalUserID)
|
||||
createdAgain, err := market.Install(ctx, "skill", "mkt_skill", portalUserID, "use")
|
||||
if err != nil || createdAgain {
|
||||
t.Fatalf("re-install should be a no-op: created=%v err=%v", createdAgain, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user