From aa481e42675fb7c4dcbbeec0ba1c61e1953b9596 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 1 Aug 2020 13:52:08 +0530 Subject: use wallet's http lib for test balance withdrawal, remove redundant integration tests --- src/walletCoreApiHandler.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/walletCoreApiHandler.ts') 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> { switch (operation) { case "withdrawTestkudos": - await withdrawTestBalance(wallet); + await wallet.withdrawTestBalance(); return {}; case "getTransactions": { const req = codecForTransactionsRequest().decode(payload); -- cgit v1.2.3