mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-26 08:25:23 -04:00
Improve usability, fix bugs
This commit is contained in:
parent
a334beb1a7
commit
b9b7d4b3e0
29 changed files with 322 additions and 152 deletions
|
@ -48,7 +48,7 @@ public class CreateOfferPMTest {
|
|||
BSFormatter formatter = new BSFormatter(new User());
|
||||
formatter.setLocale(Locale.US);
|
||||
formatter.setFiatCurrencyCode("USD");
|
||||
model = new CreateOfferModel(null, null, null, null, formatter);
|
||||
model = new CreateOfferModel(null, null, null, null, null, formatter);
|
||||
|
||||
presenter = new CreateOfferPM(model, new FiatValidator(null), new BtcValidator(), formatter);
|
||||
presenter.initialize();
|
||||
|
@ -93,7 +93,7 @@ public class CreateOfferPMTest {
|
|||
assertEquals(Fiat.valueOf("USD", 300 * 10000), model.priceAsFiat.get());
|
||||
assertEquals(Fiat.valueOf("USD", 9999900), model.volumeAsFiat.get());
|
||||
|
||||
|
||||
|
||||
model.bankAccountType.set(BankAccountType.SEPA.toString());
|
||||
assertEquals("Sepa", presenter.bankAccountType.get());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue