taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 5a98a289a2d8d1b847a6fe73e96f3eea5ac4807b
parent 407caa9e28478d78fda66d704c950fe0dafb4835
Author: Florian Dold <florian@dold.me>
Date:   Wed, 22 Jul 2026 13:34:11 +0200

harness: add test assertion for KYC: prefix

Diffstat:
Mpackages/taler-harness/src/integrationtests/test-tops-merchant-simple-kycauth.ts | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/packages/taler-harness/src/integrationtests/test-tops-merchant-simple-kycauth.ts b/packages/taler-harness/src/integrationtests/test-tops-merchant-simple-kycauth.ts @@ -175,6 +175,10 @@ export async function runTopsMerchantSimpleKycauthTest(t: GlobalTestState) { kycResp.wire_instructions.length > 0, "expected at least one wire instruction", ); + + const subject = kycResp.wire_instructions[0].subject; + t.assertTrue(subject.type === "SIMPLE"); + t.assertTrue(subject.subject.startsWith("KYC:")); } runTopsMerchantSimpleKycauthTest.suites = ["tops", "libeufin"];