make refund-gone test case pass again (see #7158)
This commit is contained in:
parent
e653fc6f58
commit
a51abcffb0
@ -77,6 +77,7 @@ export namespace Duration {
|
|||||||
}
|
}
|
||||||
return Math.ceil(d.d_ms / 1000 / 60 / 60 / 24 / 365);
|
return Math.ceil(d.d_ms / 1000 / 60 / 60 / 24 / 365);
|
||||||
}
|
}
|
||||||
|
export const fromSpec = durationFromSpec;
|
||||||
}
|
}
|
||||||
|
|
||||||
export namespace Timestamp {
|
export namespace Timestamp {
|
||||||
|
@ -50,7 +50,7 @@ import {
|
|||||||
MerchantPrivateApi,
|
MerchantPrivateApi,
|
||||||
HarnessExchangeBankAccount,
|
HarnessExchangeBankAccount,
|
||||||
WithAuthorization,
|
WithAuthorization,
|
||||||
getPayto
|
getPayto,
|
||||||
} from "./harness.js";
|
} from "./harness.js";
|
||||||
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
|
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
|
||||||
|
|
||||||
@ -120,12 +120,14 @@ export async function createSimpleTestkudosEnvironment(
|
|||||||
id: "default",
|
id: "default",
|
||||||
name: "Default Instance",
|
name: "Default Instance",
|
||||||
paytoUris: [getPayto("merchant-default")],
|
paytoUris: [getPayto("merchant-default")],
|
||||||
|
defaultWireTransferDelay: Duration.fromSpec({ minutes: 1 }),
|
||||||
});
|
});
|
||||||
|
|
||||||
await merchant.addInstance({
|
await merchant.addInstance({
|
||||||
id: "minst1",
|
id: "minst1",
|
||||||
name: "minst1",
|
name: "minst1",
|
||||||
paytoUris: [getPayto("minst1")],
|
paytoUris: [getPayto("minst1")],
|
||||||
|
defaultWireTransferDelay: Duration.fromSpec({ minutes: 1 }),
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("setup done!");
|
console.log("setup done!");
|
||||||
|
Loading…
Reference in New Issue
Block a user