diff options
author | Florian Dold <florian@dold.me> | 2023-09-21 18:02:36 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-09-21 18:02:36 +0200 |
commit | a99156ed22d21c88cddbfa5fb5908d093b32fbf8 (patch) | |
tree | 3186b3140da29f67a83fc7028164d4b0a5e8ad4e /packages/taler-harness/src/integrationtests | |
parent | 58debefbe0456ce203877f1cc417c42f4abb0685 (diff) | |
download | wallet-core-a99156ed22d21c88cddbfa5fb5908d093b32fbf8.tar.xz |
wallet-core,harness: remove separate fakebank withdrawal API
Diffstat (limited to 'packages/taler-harness/src/integrationtests')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-withdrawal-fakebank.ts | 6 | ||||
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-withdrawal-huge.ts | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-withdrawal-fakebank.ts b/packages/taler-harness/src/integrationtests/test-withdrawal-fakebank.ts index 7cd0548a5..84b7b37bf 100644 --- a/packages/taler-harness/src/integrationtests/test-withdrawal-fakebank.ts +++ b/packages/taler-harness/src/integrationtests/test-withdrawal-fakebank.ts @@ -79,10 +79,10 @@ export async function runWithdrawalFakebankTest(t: GlobalTestState) { exchangeBaseUrl: exchange.baseUrl, }); - await wallet.client.call(WalletApiOperation.WithdrawFakebank, { - exchange: exchange.baseUrl, + await wallet.client.call(WalletApiOperation.WithdrawTestBalance, { + bankAccessApiBaseUrl: bank.bankAccessApiBaseUrl, + exchangeBaseUrl: exchange.baseUrl, amount: "TESTKUDOS:10", - bank: bank.baseUrl, }); await exchange.runWirewatchOnce(); diff --git a/packages/taler-harness/src/integrationtests/test-withdrawal-huge.ts b/packages/taler-harness/src/integrationtests/test-withdrawal-huge.ts index 8777b19e2..0dfc77447 100644 --- a/packages/taler-harness/src/integrationtests/test-withdrawal-huge.ts +++ b/packages/taler-harness/src/integrationtests/test-withdrawal-huge.ts @@ -99,10 +99,10 @@ export async function runWithdrawalHugeTest(t: GlobalTestState) { }); // Results in about 1K coins withdrawn - await wallet.client.call(WalletApiOperation.WithdrawFakebank, { - exchange: exchange.baseUrl, + await wallet.client.call(WalletApiOperation.WithdrawTestBalance, { + exchangeBaseUrl: exchange.baseUrl, amount: "TESTKUDOS:10000", - bank: bank.baseUrl, + bankAccessApiBaseUrl: bank.baseUrl, }); await withdrawalFinishedCond; |