aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-11-18 18:10:53 +0100
committerFlorian Dold <florian@dold.me>2024-11-18 19:30:30 +0100
commit7524e8b823964875670f3f7332ccb1c652117650 (patch)
tree23c7c5a003548b3bdea66e8a4dc268f4ea53cf8e
parent7f3c819d910518e69dd71ee78a5d79fcfb51f13b (diff)
kyc tests WIP
-rw-r--r--packages/taler-harness/src/integrationtests/test-kyc-decisions.ts (renamed from packages/taler-harness/src/integrationtests/test-kyc-initial-decision.ts)8
-rw-r--r--packages/taler-harness/src/integrationtests/testrunner.ts4
2 files changed, 7 insertions, 5 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-kyc-initial-decision.ts b/packages/taler-harness/src/integrationtests/test-kyc-decisions.ts
index b9381a257..16c2d3f71 100644
--- a/packages/taler-harness/src/integrationtests/test-kyc-initial-decision.ts
+++ b/packages/taler-harness/src/integrationtests/test-kyc-decisions.ts
@@ -47,9 +47,11 @@ function adjustExchangeConfig(config: Configuration) {
}
/**
- * Test making decisions on unknown accounts.
+ * Tests for making AML decisions.
+ * - Test making decisions on unknown accounts.
+ * - Test making decisions with default rules.
*/
-export async function runKycInitialDecisionTest(t: GlobalTestState) {
+export async function runKycDecisionsTest(t: GlobalTestState) {
// Set up test environment
const { walletClient, bankClient, exchange, amlKeypair, merchant } =
@@ -87,4 +89,4 @@ export async function runKycInitialDecisionTest(t: GlobalTestState) {
});
}
-runKycInitialDecisionTest.suites = ["wallet"];
+runKycDecisionsTest.suites = ["wallet"];
diff --git a/packages/taler-harness/src/integrationtests/testrunner.ts b/packages/taler-harness/src/integrationtests/testrunner.ts
index 6d6ba3b1b..4f8d090a3 100644
--- a/packages/taler-harness/src/integrationtests/testrunner.ts
+++ b/packages/taler-harness/src/integrationtests/testrunner.ts
@@ -152,7 +152,7 @@ import { runWithdrawalManualTest } from "./test-withdrawal-manual.js";
import { runWithdrawalPrepareTest } from "./test-withdrawal-prepare.js";
import { runKycMerchantActivateBankAccountTest } from "./test-kyc-merchant-activate-bank-account.js";
import { runKycSkipExpirationTest } from "./test-kyc-skip-expiration.js";
-import { runKycInitialDecisionTest } from "./test-kyc-initial-decision.js";
+import { runKycDecisionsTest } from "./test-kyc-decisions.js";
/**
* Test runner.
@@ -289,7 +289,7 @@ const allTests: TestMainFunction[] = [
runWalletTransactionsTest,
runKycWithdrawalVerbotenTest,
runKycMerchantActivateBankAccountTest,
- runKycInitialDecisionTest,
+ runKycDecisionsTest,
];
export interface TestRunSpec {