update test exceeding offer limits

This commit is contained in:
woodser 2024-02-12 10:41:21 -05:00
parent a7dc0fa89c
commit 956325fc3c

View file

@ -1550,7 +1550,7 @@ test("Cannot post offer exceeding trade limit (CI, sanity check)", async () => {
// test posting buy offer above limit // test posting buy offer above limit
try { try {
await executeTrade({ await executeTrade({
offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(2.6), offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(3.1),
direction: OfferDirection.BUY, direction: OfferDirection.BUY,
assetCode: assetCode, assetCode: assetCode,
makerPaymentAccountId: account.getId(), makerPaymentAccountId: account.getId(),
@ -1564,7 +1564,7 @@ test("Cannot post offer exceeding trade limit (CI, sanity check)", async () => {
// test posting sell offer above limit // test posting sell offer above limit
try { try {
await executeTrade({ await executeTrade({
offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(8.1), offerAmount: moneroTs.MoneroUtils.xmrToAtomicUnits(12.1),
direction: OfferDirection.SELL, direction: OfferDirection.SELL,
assetCode: assetCode, assetCode: assetCode,
makerPaymentAccountId: account.getId(), makerPaymentAccountId: account.getId(),