From eed5d523e50f31e539c3cd40aefef98737fa120e Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 7 Sep 2023 16:00:29 -0400 Subject: [PATCH] test xgb with pay by mail --- src/HavenoClient.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HavenoClient.test.ts b/src/HavenoClient.test.ts index 712e40d7..56156447 100644 --- a/src/HavenoClient.test.ts +++ b/src/HavenoClient.test.ts @@ -3487,6 +3487,7 @@ function getValidFormInput(form: PaymentAccountForm, fieldId: PaymentAccountForm case PaymentAccountFormField.FieldId.TRADE_CURRENCIES: if (field.getComponent() === PaymentAccountFormField.Component.SELECT_ONE) { if (form.getId() === PaymentAccountForm.FormId.F2F) return "XAU"; + if (form.getId() === PaymentAccountForm.FormId.PAY_BY_MAIL) return "XGB"; return field.getSupportedCurrenciesList()[0]!.getCode(); // TODO: randomly select? } else return field.getSupportedCurrenciesList().map(currency => currency.getCode()).join(',');