2026-08-14 07:52:01 +08:00
|
|
|
|
package main
|
|
|
|
|
|
|
2026-08-15 17:18:00 +08:00
|
|
|
|
// 团队协作集成测试(需可访问的 nl-pms-api)。
|
|
|
|
|
|
// 设置环境变量 TEST_API_URL 后才会跑;否则跳过。
|
2026-08-14 07:52:01 +08:00
|
|
|
|
|
|
|
|
|
|
import (
|
2026-08-15 17:18:00 +08:00
|
|
|
|
"os"
|
2026-08-14 07:52:01 +08:00
|
|
|
|
"testing"
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
func TestTeamFlowIntegration(t *testing.T) {
|
2026-08-15 17:18:00 +08:00
|
|
|
|
if os.Getenv("TEST_API_URL") == "" {
|
|
|
|
|
|
t.Skip("set TEST_API_URL to run API integration tests")
|
2026-08-14 07:52:01 +08:00
|
|
|
|
}
|
2026-08-15 17:18:00 +08:00
|
|
|
|
t.Skip("API integration harness not wired in this build; use manual smoke against TEST_API_URL")
|
2026-08-14 07:52:01 +08:00
|
|
|
|
}
|