use of io.bisq.api.model.OfferToCreate in project bisq-api by mrosseel.
the class OfferResourceIT method createOffer_incompatiblePaymentAccount_returns423status.
@InSequence(3)
@Test
public void createOffer_incompatiblePaymentAccount_returns423status() {
String otherTradeCurrency = "EUR".equals(tradeCurrency) ? "PLN" : "EUR";
final OfferToCreate offer = getOfferToCreateFixedBuy(otherTradeCurrency, alicePaymentAccount.id);
createOffer_template(offer, 423);
}
use of io.bisq.api.model.OfferToCreate in project bisq-api by mrosseel.
the class OfferResourceIT method createOffer_noArbitratorAccepted_returns424status.
@InSequence(1)
@Test
public void createOffer_noArbitratorAccepted_returns424status() {
final OfferToCreate offer = getOfferToCreateFixedBuy(tradeCurrency, alicePaymentAccount.id);
createOffer_template(offer, 424);
}
use of io.bisq.api.model.OfferToCreate in project bisq-api by mrosseel.
the class OfferResourceIT method createOffer_noPaymentAccount_returns425status.
@InSequence(3)
@Test
public void createOffer_noPaymentAccount_returns425status() {
final OfferToCreate offer = getOfferToCreateFixedBuy(tradeCurrency, alicePaymentAccount.id + alicePaymentAccount.id);
createOffer_template(offer, 425);
}
Aggregations