test(billing): drop added comments

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kingsley
2026-10-02 10:48:37 +00:00
co-authored by Claude Opus 5.5
parent 66a9e2e6bb
commit 8b9788eeb4
@@ -175,7 +175,6 @@ func TestUpstreamBillingProbeOfficialAPIBaseURLIsUnsupportedWithoutRequest(t *te
{PlatformDeepseek, "https://api.deepseek.com/anthropic"},
{PlatformOpenCodeGo, "https://opencode.ai/zen/go/v1"},
{PlatformOpenCodeGo, "https://opencode.ai/zen/go"},
// TypeSafe 官方 System One API 同样不提供 /v1/sub2api/billing。
{PlatformTypeSafe, "https://api.typesafe.ai"},
{PlatformTypeSafe, "https://api.typesafe.ai/v1"},
}
@@ -283,8 +282,6 @@ func TestUpstreamBillingProbeSetAccountEnabledAcceptsGrokAPIKey(t *testing.T) {
require.ErrorIs(t, err, ErrUpstreamBillingProbeAccountInvalid)
}
// 回归:创建表单对全部 API-key 平台默认开启自动探测;TypeSafe 账号带默认开关创建
// 不能被 UPSTREAM_BILLING_PROBE_ACCOUNT_INVALID 拒绝。
func TestBuildAccountForCreateAcceptsTypeSafeAPIKeyWithProbeEnabled(t *testing.T) {
enabled := true
account, err := buildAccountForCreate(&CreateAccountInput{