mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-21 12:48:35 -04:00
fix trade is in an invalid state warning
Co-authored-by: duriancrepe <duriancrepe@protonmail.com>
This commit is contained in:
parent
14c5384edc
commit
e79450f65e
21 changed files with 101 additions and 293 deletions
|
@ -63,12 +63,6 @@ public class TransactionAwareTradeTest {
|
|||
trade = new TransactionAwareTrade(delegate, arbitrationManager, refundManager, xmrWalletService, null);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testIsRelatedToTransactionWhenTakerOfferFeeTx() {
|
||||
when(delegate.getTakerFeeTxId()).thenReturn(XID.toString());
|
||||
assertTrue(trade.isRelatedToTransaction(transaction));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testIsRelatedToTransactionWhenPayoutTx() {
|
||||
when(delegate.getPayoutTx().getHash()).thenReturn(XID.toString());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue