Skip to content

Commit

Permalink
feat(2756): fix test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
koekiebox committed Jun 18, 2024
1 parent 912768b commit 87f39a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/backend/src/accounting/tigerbeetle/service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ describe('TigerBeetle Accounting Service', (): void => {
accountingService.getSettlementBalance(ledger)
).resolves.toBeUndefined()

await accountingService.createSettlementAccount(ledger, `${ledger}`)
await accountingService.createSettlementAccount(ledger, ledger)

await expect(
accountingService.getSettlementBalance(ledger)
Expand All @@ -265,7 +265,7 @@ describe('TigerBeetle Accounting Service', (): void => {
describe('Get Settlement Balance', (): void => {
test("Can retrieve an asset's settlement account balance", async (): Promise<void> => {
const ledger = newLedger()
await accountingService.createSettlementAccount(ledger, `${ledger}`)
await accountingService.createSettlementAccount(ledger, ledger)
await expect(
accountingService.getSettlementBalance(ledger)
).resolves.toEqual(BigInt(0))
Expand Down

0 comments on commit 87f39a2

Please sign in to comment.