From 5e244e7382bbb100ab2a4579b1078a79e6124c40 Mon Sep 17 00:00:00 2001 From: shaw Date: Wed, 23 Sep 2026 11:36:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(test):=20=E4=BF=AE=E5=A4=8D=E8=B0=83?= =?UTF-8?q?=E5=BA=A6=E5=80=8D=E7=8E=87=E5=8F=82=E6=95=B0=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E5=90=8E=E7=9A=84=20CI=20=E7=BC=96=E8=AF=91=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/openai_account_scheduler_canonical_quota_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/service/openai_account_scheduler_canonical_quota_test.go b/backend/internal/service/openai_account_scheduler_canonical_quota_test.go index 575347e628..a7cc8116dd 100644 --- a/backend/internal/service/openai_account_scheduler_canonical_quota_test.go +++ b/backend/internal/service/openai_account_scheduler_canonical_quota_test.go @@ -97,7 +97,7 @@ func TestOpenAISchedulerCanonicalResetScoresMatchSnapshot(t *testing.T) { scores := openAIPlanScores(plan) require.InDelta(t, 1, scores[1]-scores[2], 1e-9) - snapshots := buildOpenAIAccountSchedulerScoreSnapshot(accounts, nil, scheduler.service.openAIWSSchedulerWeights(), false, defaultOpenAIOAuthSchedulingRateMultiplier) + snapshots := buildOpenAIAccountSchedulerScoreSnapshot(accounts, nil, scheduler.service.openAIWSSchedulerWeights(), false, floatPtr(defaultOpenAIOAuthSchedulingRateMultiplier)) for _, account := range accounts { require.InDelta(t, scores[account.ID], snapshots[account.ID].BaseScore, 1e-9) }