integration test fixes
This commit is contained in:
parent
953cd9dc41
commit
e9864adf15
@ -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;
|
||||
}
|
||||
|
@ -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,
|
||||
|
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user