From 12a3afe15b24fcdc76935f5cdd47ba122728835d Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 21 May 2026 22:56:16 +0800 Subject: [PATCH] chore: 1 --- .../ui/certd-server/src/modules/auto/fix/auto-fix.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ui/certd-server/src/modules/auto/fix/auto-fix.test.ts b/packages/ui/certd-server/src/modules/auto/fix/auto-fix.test.ts index 355f6452e..48795eec4 100644 --- a/packages/ui/certd-server/src/modules/auto/fix/auto-fix.test.ts +++ b/packages/ui/certd-server/src/modules/auto/fix/auto-fix.test.ts @@ -23,27 +23,31 @@ describe("AutoFix", () => { autoFix.googleCommonEabAccountKeyFix = { async init() { calls.push("google"); + return true; }, } as any; autoFix.oauthSubtypeBoundTypeFix = { async init() { calls.push("oauth"); + return true; }, } as any; autoFix.certInfoWildcardDomainCountFix = { async init() { calls.push("cert"); + return true; }, } as any; autoFix.suiteContentWildcardDomainCountFix = { async init() { calls.push("suite"); + return true; }, } as any; await autoFix.init(); - assert.deepEqual(calls, ["google", "cert", "suite", "oauth"]); + assert.deepEqual(calls, ["google", "cert", "suite"]); assert.equal(savedSetting.fixed["google-common-eab-account-key"], true); assert.equal(savedSetting.fixed["oauth-subtype-bound-type"], true); assert.equal(savedSetting.fixed["cert-info-wildcard-domain-count"], true);