Improve testing and some cleanup refactoring.

This commit is contained in:
2026-07-29 11:07:12 +02:00
parent 249a166d07
commit 44846eaa13
15 changed files with 253 additions and 96 deletions
@@ -7,16 +7,16 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.9" />
<PackageReference Include="Microsoft.OpenApi" Version="2.10.0" />
<PackageReference Include="WolverineFx" Version="6.18.0" />
<PackageReference Include="WolverineFx.Http" Version="6.18.0" />
<PackageReference Include="WolverineFx.RuntimeCompilation" Version="6.18.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.9"/>
<PackageReference Include="Microsoft.OpenApi" Version="2.10.0"/>
<PackageReference Include="WolverineFx" Version="6.18.0"/>
<PackageReference Include="WolverineFx.Http" Version="6.18.0"/>
<PackageReference Include="WolverineFx.RuntimeCompilation" Version="6.18.0"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FinancialApi.Infrastructure\FinancialApi.Infrastructure.csproj" />
<ProjectReference Include="..\FinancialApi.ServiceDefaults\FinancialApi.ServiceDefaults.csproj" />
<ProjectReference Include="..\FinancialApi.Infrastructure\FinancialApi.Infrastructure.csproj"/>
<ProjectReference Include="..\FinancialApi.ServiceDefaults\FinancialApi.ServiceDefaults.csproj"/>
</ItemGroup>
</Project>
@@ -7,8 +7,8 @@ Accept: application/json
Content-Type: application/json
{
"accountId": 1,
"amount": 50.0
"accountId": 1,
"amount": 50.0
}
### Transfer Between Accounts
@@ -17,9 +17,9 @@ POST {{FinancialApi_HostAddress}}/accounts/transfer
Content-Type: application/json
{
"sourceAccountId": 1,
"destinationAccountId": 2,
"amount": 1000.00
"sourceAccountId": 1,
"destinationAccountId": 2,
"amount": 1000.00
}
### Reverse a Journal Entry
@@ -28,8 +28,8 @@ POST {{FinancialApi_HostAddress}}/journal/reverse
Content-Type: application/json
{
"originalJournalId": "FD2BFD8E-7C85-4CAD-A12B-CCBCD7C12B4A",
"reason": "Incorrect Account Fee"
"originalJournalId": "B65EB28C-7EC1-4B70-9069-06A61A4FE857",
"reason": "Incorrect Account Fee"
}
### Events