Files
code-utils/sync_integration_test.go

17 lines
450 B
Go
Raw Normal View History

2026-08-14 07:52:01 +08:00
package main
2026-08-15 17:18:00 +08:00
// 账号全链路集成测试(需可访问的 nl-pms-api
// 设置环境变量 TEST_API_URL如 http://127.0.0.1:8788后才会跑否则跳过。
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"
)
2026-08-15 17:18:00 +08:00
func TestSyncFlowIntegration(t *testing.T) {
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
}