fix: ( excess-baggage ) pay in the selected method's currency and record settlement

This commit is contained in:
Abubeker Yasin
2026-08-17 15:33:43 +03:00
parent 41080c1650
commit fa16087a4a
10 changed files with 1522 additions and 28 deletions

View File

@@ -130,11 +130,12 @@ describe("Money integrity (Tier-2 direct instantiation)", () => {
const service = new ExcessBaggageService(
prisma as any,
asyncStub(),
asyncStub(),
asyncStub(),
asyncStub(),
asyncStub(),
asyncStub(), // auditService
asyncStub(), // currencyService
asyncStub(), // paymentClient
asyncStub(), // notifications
asyncStub(), // smsClient
asyncStub(), // emailClient
);
const charge: any = await service.logCharge({
@@ -174,6 +175,7 @@ describe("Money integrity (Tier-2 direct instantiation)", () => {
const service = new ExcessBaggageService(
prisma as any,
asyncStub(), // auditService
asyncStub(), // currencyService
asyncStub(), // paymentClient
asyncStub(), // notifications
asyncStub(), // smsClient