integration test fixes

This commit is contained in:
Florian Dold 2020-08-14 16:18:48 +05:30
parent 953cd9dc41
commit e9864adf15
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 4 additions and 4 deletions

View File

@ -1245,8 +1245,8 @@ export class WalletCli {
throw new OperationFailedError(resp.error); throw new OperationFailedError(resp.error);
} }
async runIntegrationtest(args: IntegrationTestArgs): Promise<void> { async runIntegrationTest(args: IntegrationTestArgs): Promise<void> {
const resp = await this.apiRequest("runIntegrationtest", args); const resp = await this.apiRequest("runIntegrationTest", args);
if (resp.type === "response") { if (resp.type === "response") {
return; return;
} }

View File

@ -36,7 +36,7 @@ runTest(async (t: GlobalTestState) => {
merchant, merchant,
} = await createSimpleTestkudosEnvironment(t); } = await createSimpleTestkudosEnvironment(t);
await wallet.runIntegrationtest({ await wallet.runIntegrationTest({
amountToSpend: "TESTKUDOS:5", amountToSpend: "TESTKUDOS:5",
amountToWithdraw: "TESTKUDOS:10", amountToWithdraw: "TESTKUDOS:10",
bankBaseUrl: bank.baseUrl, bankBaseUrl: bank.baseUrl,

View File

@ -938,7 +938,7 @@ export class Wallet {
await this.withdrawTestBalance(req); await this.withdrawTestBalance(req);
return {}; return {};
} }
case "runIntegrationtest": { case "runIntegrationTest": {
const req = codecForIntegrationTestArgs().decode(payload); const req = codecForIntegrationTestArgs().decode(payload);
await this.runIntegrationtest(req); await this.runIntegrationtest(req);
return {} return {}