Fix some naming

This commit is contained in:
2026-07-31 09:35:44 +02:00
parent 2abe392890
commit 5e5fc0a034
11 changed files with 200 additions and 42 deletions
@@ -27,8 +27,8 @@ public class TransferFundsHandlerTests
// Arrange
var timeProvider = new FakeTimeProvider();
var command = new TransferFundsCommand(1, 2, feeAmount);
var sourceAccount = new Account(1, startingBalance, AccountType.Liability);
var destAccount = new Account(2, 0, AccountType.Liability);
var sourceAccount = new Account(1, startingBalance, AccountType.Spend);
var destAccount = new Account(2, 0, AccountType.Spend);
var transferContext = new TransferContext(sourceAccount, destAccount, timeProvider.GetUtcNow());
// Act
@@ -51,8 +51,8 @@ public class TransferFundsHandlerTests
// Arrange
var timeProvider = new FakeTimeProvider();
var command = new TransferFundsCommand(1, 2, feeAmount);
var sourceAccount = new Account(1, startingBalance, AccountType.Liability);
var destAccount = new Account(2, 0, AccountType.Liability);
var sourceAccount = new Account(1, startingBalance, AccountType.Spend);
var destAccount = new Account(2, 0, AccountType.Spend);
var transferContext = new TransferContext(sourceAccount, destAccount, timeProvider.GetUtcNow());
// Act
@@ -81,8 +81,8 @@ public class TransferFundsHandlerTests
// Arrange
var timeProvider = new FakeTimeProvider();
var command = new TransferFundsCommand(1, 2, feeAmount);
var sourceAccount = new Account(1, startingBalance, AccountType.Credit);
var destAccount = new Account(2, 0, AccountType.Credit);
var sourceAccount = new Account(1, startingBalance, AccountType.Borrow);
var destAccount = new Account(2, 0, AccountType.Borrow);
var transferContext = new TransferContext(sourceAccount, destAccount, timeProvider.GetUtcNow());
// Act
@@ -109,8 +109,8 @@ public class TransferFundsHandlerTests
// Arrange
var timeProvider = new FakeTimeProvider();
var command = new TransferFundsCommand(1, 2, feeAmount);
var sourceAccount = new Account(1, startingBalance, AccountType.Credit);
var destAccount = new Account(2, 0, AccountType.Credit);
var sourceAccount = new Account(1, startingBalance, AccountType.Borrow);
var destAccount = new Account(2, 0, AccountType.Borrow);
var transferContext = new TransferContext(sourceAccount, destAccount, timeProvider.GetUtcNow());
// Act
@@ -137,8 +137,8 @@ public class TransferFundsHandlerTests
// Arrange
var timeProvider = new FakeTimeProvider();
var command = new TransferFundsCommand(1, 2, feeAmount);
var sourceAccount = new Account(1, startingBalance, AccountType.Credit);
var destAccount = new Account(2, 0, AccountType.Credit);
var sourceAccount = new Account(1, startingBalance, AccountType.Borrow);
var destAccount = new Account(2, 0, AccountType.Borrow);
var transferContext = new TransferContext(sourceAccount, destAccount, timeProvider.GetUtcNow());
// Act