1
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 34s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s

This commit is contained in:
SunCheng
2026-01-28 19:32:11 +08:00
parent e93c3d6bae
commit d9703d31ae
15 changed files with 150 additions and 1277 deletions

View File

@@ -1,6 +1,4 @@
using FluentAssertions;
namespace WebApi.Test.Repository;
namespace WebApi.Test.Repository;
public class BudgetRepositoryTest : TransactionTestBase
{
@@ -58,9 +56,6 @@ public class BudgetRepositoryTest : TransactionTestBase
await _repository.UpdateBudgetCategoryNameAsync("餐饮", "美食", TransactionType.Expense);
// Assert
var b1 = await _repository.GetByIdAsync(1); // Assuming ID 1 (Standard FreeSql behavior depending on implementation, but I used standard Add)
// Actually, IDs are snowflake. I should capture them.
var all = await _repository.GetAllAsync();
var b1_updated = all.First(b => b.Name == "B1");
b1_updated.SelectedCategories.Should().Contain("美食");