[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-typescript-core] branch master updated: harness: repro test for h
From: |
Admin |
Subject: |
[taler-typescript-core] branch master updated: harness: repro test for https://bugs.taler.net/n/10093 |
Date: |
Thu, 12 Jun 2025 11:33:07 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository taler-typescript-core.
The following commit(s) were added to refs/heads/master by this push:
new 8bca68ef7 harness: repro test for https://bugs.taler.net/n/10093
8bca68ef7 is described below
commit 8bca68ef723f4cc02f017c23f8cea0bb99a71935
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Jun 12 11:33:03 2025 +0200
harness: repro test for https://bugs.taler.net/n/10093
---
.../src/integrationtests/test-exchange-kyc-auth.ts | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git
a/packages/taler-harness/src/integrationtests/test-exchange-kyc-auth.ts
b/packages/taler-harness/src/integrationtests/test-exchange-kyc-auth.ts
index d3a714d2c..3664791ca 100644
--- a/packages/taler-harness/src/integrationtests/test-exchange-kyc-auth.ts
+++ b/packages/taler-harness/src/integrationtests/test-exchange-kyc-auth.ts
@@ -35,6 +35,7 @@ import {
import {
configureCommonKyc,
createKycTestkudosEnvironment,
+ postAmlDecisionNoRules,
withdrawViaBankV3,
} from "../harness/environments.js";
import {
@@ -298,6 +299,32 @@ export async function runExchangeKycAuthTest(t:
GlobalTestState) {
t.assertDeepEqual(checkResp.case, HttpStatusCode.Accepted);
}
+
+ await postAmlDecisionNoRules(t, {
+ amlPriv: amlKeypair.priv,
+ amlPub: amlKeypair.pub,
+ exchangeBaseUrl: exchange.baseUrl,
+ paytoHash: kycPaytoHash,
+ });
+
+ // Deposit should now work, even if it's *not* the latest reserve pub
+ // being used, but the penultimate.
+ const dep2Resp = await walletClient.call(
+ WalletApiOperation.CreateDepositGroup,
+ {
+ amount: "TESTKUDOS:3",
+ depositPaytoUri: merchantPayto,
+ testingFixedPriv: encodeCrock(reservePair3.eddsaPriv),
+ },
+ );
+
+ await walletClient.call(WalletApiOperation.TestingWaitTransactionState, {
+ transactionId: dep2Resp.transactionId,
+ txState: {
+ major: TransactionMajorState.Done,
+ },
+ timeout: { seconds: 10 },
+ });
}
runExchangeKycAuthTest.suites = ["wallet"];
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-typescript-core] branch master updated: harness: repro test for https://bugs.taler.net/n/10093,
Admin <=