From 05545dea599937e10f7f35c06273797549cbaab4 Mon Sep 17 00:00:00 2001 From: hailin Date: Wed, 10 Dec 2025 16:18:12 -0800 Subject: [PATCH] fix(authorization): add missing findByAccountSequence to MockTeamStatisticsRepository MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- backend/services/authorization-service/src/app.module.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backend/services/authorization-service/src/app.module.ts b/backend/services/authorization-service/src/app.module.ts index b707d420..3668c429 100644 --- a/backend/services/authorization-service/src/app.module.ts +++ b/backend/services/authorization-service/src/app.module.ts @@ -46,6 +46,14 @@ const MockTeamStatisticsRepository = { useValue: { findByUserId: async () => ({ userId: '', + accountSequence: BigInt(0), + totalTeamPlantingCount: 0, + getProvinceTeamCount: () => 0, + getCityTeamCount: () => 0, + }), + findByAccountSequence: async () => ({ + userId: '', + accountSequence: BigInt(0), totalTeamPlantingCount: 0, getProvinceTeamCount: () => 0, getCityTeamCount: () => 0,