don't test payout unlock by default

This commit is contained in:
woodser 2023-07-27 09:57:40 -04:00
parent fd1a570800
commit 9480118041

View file

@ -179,7 +179,7 @@ const TestConfig = {
maxConcurrencyCI: 7, // CI test max concurrency maxConcurrencyCI: 7, // CI test max concurrency
stopOnFailure: true, stopOnFailure: true,
testPayoutConfirmed: true, testPayoutConfirmed: true,
testPayoutUnlocked: true testPayoutUnlocked: false
} }
}; };
@ -1367,7 +1367,8 @@ test("Can complete a trade within a range", async () => {
price: 150, price: 150,
offerAmount: HavenoUtils.xmrToAtomicUnits(1), offerAmount: HavenoUtils.xmrToAtomicUnits(1),
offerMinAmount: HavenoUtils.xmrToAtomicUnits(.15), offerMinAmount: HavenoUtils.xmrToAtomicUnits(.15),
tradeAmount: HavenoUtils.xmrToAtomicUnits(.18) tradeAmount: HavenoUtils.xmrToAtomicUnits(.18),
testPayoutUnlocked: true, // override to test unlock
}); });
}); });
@ -1471,6 +1472,7 @@ test("Can go offline while resolving disputes (CI)", async () => {
disputeWinner: DisputeResult.Winner.SELLER, disputeWinner: DisputeResult.Winner.SELLER,
disputeReason: DisputeResult.Reason.NO_REPLY, disputeReason: DisputeResult.Reason.NO_REPLY,
disputeSummary: "Seller wins dispute because buyer has not replied", disputeSummary: "Seller wins dispute because buyer has not replied",
testTradePayoutUnlock: true
}); });
// fund traders // fund traders