diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-01 13:52:08 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-01 13:52:46 +0530 |
commit | aa481e42675fb7c4dcbbeec0ba1c61e1953b9596 (patch) | |
tree | b1283f27713b9ff8619773a96b775a263e4aea18 /src/walletCoreApiHandler.ts | |
parent | b37c98346d407c749a5cd971f798428c42b248c3 (diff) | |
download | wallet-core-aa481e42675fb7c4dcbbeec0ba1c61e1953b9596.tar.xz |
use wallet's http lib for test balance withdrawal, remove redundant integration tests
Diffstat (limited to 'src/walletCoreApiHandler.ts')
-rw-r--r-- | src/walletCoreApiHandler.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/walletCoreApiHandler.ts b/src/walletCoreApiHandler.ts index a16490d5a..7ab6a6284 100644 --- a/src/walletCoreApiHandler.ts +++ b/src/walletCoreApiHandler.ts @@ -21,7 +21,6 @@ import { makeErrorDetails, } from "./operations/errors"; import { TalerErrorCode } from "./TalerErrorCode"; -import { withdrawTestBalance } from "./headless/helpers"; import { codecForTransactionsRequest } from "./types/transactions"; import { makeCodecForObject, @@ -160,7 +159,7 @@ async function dispatchRequestInternal( ): Promise<Record<string, any>> { switch (operation) { case "withdrawTestkudos": - await withdrawTestBalance(wallet); + await wallet.withdrawTestBalance(); return {}; case "getTransactions": { const req = codecForTransactionsRequest().decode(payload); |