fix merchant instance creation in some tests
This commit is contained in:
parent
0ee44c3a58
commit
67e5d68b93
@ -192,6 +192,7 @@ async function withWallet<T>(
|
||||
}
|
||||
process.exit(1);
|
||||
} finally {
|
||||
logger.info("operation with wallet finished, stopping");
|
||||
wallet.stop();
|
||||
}
|
||||
}
|
||||
|
@ -218,18 +218,18 @@ export async function createFaultInjectedMerchantTestkudosEnvironment(
|
||||
await merchant.start();
|
||||
await merchant.pingUntilAvailable();
|
||||
|
||||
await merchant.addInstance({
|
||||
id: "minst1",
|
||||
name: "minst1",
|
||||
paytoUris: ["payto://x-taler-bank/minst1"],
|
||||
});
|
||||
|
||||
await merchant.addInstance({
|
||||
id: "default",
|
||||
name: "Default Instance",
|
||||
paytoUris: [`payto://x-taler-bank/merchant-default`],
|
||||
});
|
||||
|
||||
await merchant.addInstance({
|
||||
id: "minst1",
|
||||
name: "minst1",
|
||||
paytoUris: ["payto://x-taler-bank/minst1"],
|
||||
});
|
||||
|
||||
console.log("setup done!");
|
||||
|
||||
const wallet = new WalletCli(t);
|
||||
|
@ -1756,7 +1756,7 @@ export const WalletStoresV1 = {
|
||||
"byFulfillmentUrl",
|
||||
"download.contractData.fulfillmentUrl",
|
||||
),
|
||||
byMerchantUrlAndOrderId: describeIndex("byOrderId", [
|
||||
byMerchantUrlAndOrderId: describeIndex("byMerchantUrlAndOrderId", [
|
||||
"download.contractData.merchantBaseUrl",
|
||||
"download.contractData.orderId",
|
||||
]),
|
||||
|
Loading…
Reference in New Issue
Block a user