This commit is contained in:
SunCheng
2026-02-10 17:49:19 +08:00
parent 3e18283e52
commit d052ae5197
104 changed files with 10369 additions and 3000 deletions

View File

@@ -1,4 +1,3 @@
using Microsoft.Extensions.Logging;
using Service.AI;
using Service.Message;
using Service.Transaction;
@@ -11,7 +10,7 @@ public class BudgetStatsTest : BaseTest
private readonly IBudgetArchiveRepository _budgetArchiveRepository = Substitute.For<IBudgetArchiveRepository>();
private readonly ITransactionRecordRepository _transactionsRepository = Substitute.For<ITransactionRecordRepository>();
private readonly ITransactionStatisticsService _transactionStatisticsService = Substitute.For<ITransactionStatisticsService>();
private readonly IOpenAiService _openAiService = Substitute.For<IOpenAiService>();
private readonly ISmartHandleService _smartHandleService = Substitute.For<ISmartHandleService>();
private readonly IMessageService _messageService = Substitute.For<IMessageService>();
private readonly ILogger<BudgetService> _logger = Substitute.For<ILogger<BudgetService>>();
private readonly IBudgetSavingsService _budgetSavingsService = Substitute.For<IBudgetSavingsService>();
@@ -35,7 +34,7 @@ public class BudgetStatsTest : BaseTest
_budgetArchiveRepository,
_transactionsRepository,
_transactionStatisticsService,
_openAiService,
_smartHandleService,
_messageService,
_logger,
_budgetSavingsService,