kyc url
This commit is contained in:
parent
c680f5aa71
commit
16900104b5
@ -29,6 +29,7 @@ import {
|
|||||||
TransactionDeposit,
|
TransactionDeposit,
|
||||||
TransactionIdStr,
|
TransactionIdStr,
|
||||||
TransactionMajorState,
|
TransactionMajorState,
|
||||||
|
TransactionMinorState,
|
||||||
TransactionPayment,
|
TransactionPayment,
|
||||||
TransactionPeerPullCredit,
|
TransactionPeerPullCredit,
|
||||||
TransactionPeerPullDebit,
|
TransactionPeerPullDebit,
|
||||||
@ -169,6 +170,7 @@ const exampleData = {
|
|||||||
summary: "take this money",
|
summary: "take this money",
|
||||||
completed: true,
|
completed: true,
|
||||||
},
|
},
|
||||||
|
kycUrl: undefined,
|
||||||
exchangeBaseUrl: "https://exchange.taler.net",
|
exchangeBaseUrl: "https://exchange.taler.net",
|
||||||
} as TransactionPeerPushCredit,
|
} as TransactionPeerPushCredit,
|
||||||
push_debit: {
|
push_debit: {
|
||||||
@ -197,6 +199,7 @@ const exampleData = {
|
|||||||
summary: "pay me, please?",
|
summary: "pay me, please?",
|
||||||
completed: true,
|
completed: true,
|
||||||
},
|
},
|
||||||
|
kycUrl: undefined,
|
||||||
exchangeBaseUrl: "https://exchange.taler.net",
|
exchangeBaseUrl: "https://exchange.taler.net",
|
||||||
} as TransactionPeerPullCredit,
|
} as TransactionPeerPullCredit,
|
||||||
pull_debit: {
|
pull_debit: {
|
||||||
@ -278,7 +281,12 @@ export const WithdrawError = tests.createExample(TestedComponent, {
|
|||||||
export const WithdrawErrorKYC = tests.createExample(TestedComponent, {
|
export const WithdrawErrorKYC = tests.createExample(TestedComponent, {
|
||||||
transaction: {
|
transaction: {
|
||||||
...exampleData.withdraw,
|
...exampleData.withdraw,
|
||||||
error: kycError,
|
txState: {
|
||||||
|
major: TransactionMajorState.Pending,
|
||||||
|
minor: TransactionMinorState.KycRequired,
|
||||||
|
},
|
||||||
|
|
||||||
|
// error: kycError,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
// export const WithdrawErrorInDevMode = tests.createExampleInCustomContext(
|
// export const WithdrawErrorInDevMode = tests.createExampleInCustomContext(
|
||||||
|
Loading…
Reference in New Issue
Block a user