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);
}
async runIntegrationtest(args: IntegrationTestArgs): Promise<void> {
const resp = await this.apiRequest("runIntegrationtest", args);
async runIntegrationTest(args: IntegrationTestArgs): Promise<void> {
const resp = await this.apiRequest("runIntegrationTest", args);
if (resp.type === "response") {
return;
}

View File

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

View File

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