aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_payto.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-15 11:48:41 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-15 11:48:49 +0100
commit4547bfb318bfad96b12694dd93a50f50717478b6 (patch)
treee60f6e1f8b2da591004015cdde7875c8518adb18 /src/util/test_payto.c
parent4c488a1d0ee668486d03fb5ad64924411c81b9a1 (diff)
downloadexchange-4547bfb318bfad96b12694dd93a50f50717478b6.tar.xz
fix fakebank account vs. full payto confusion
Diffstat (limited to 'src/util/test_payto.c')
-rw-r--r--src/util/test_payto.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/test_payto.c b/src/util/test_payto.c
index 0a570ee5a..f0247f19b 100644
--- a/src/util/test_payto.c
+++ b/src/util/test_payto.c
@@ -78,6 +78,14 @@ main (int argc,
"payto://x-taler-bank/localhost:1080/alice");
CHECK ("http://localhost:1080/alice",
r);
+ r = TALER_xtalerbank_account_from_payto (
+ "payto://x-taler-bank/localhost:1080/alice");
+ CHECK ("alice",
+ r);
+ r = TALER_xtalerbank_account_from_payto (
+ "payto://x-taler-bank/localhost:1080/alice?subject=hello&amount=EUR:1");
+ CHECK ("alice",
+ r);
return 0;
}