diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-09 10:55:31 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-09 10:55:31 +0200 |
commit | 01158a48171d6dbfddec1cf274b70d2e730a1a04 (patch) | |
tree | 10af6f856b200e4a6cc8d68e817d1e1727a2e5f6 /src/exchangedb/test_exchangedb.c | |
parent | cd2538efb57d34d592efc551695a1b1174433ccb (diff) | |
download | exchange-01158a48171d6dbfddec1cf274b70d2e730a1a04.tar.xz |
Method to mark a merchant as NOT KYC-checked.
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 06b0372f4..535077fbd 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -2199,9 +2199,21 @@ run (void *cls) session, "payto://mock", &kyc_checked)); - FAILIF (GNUNET_YES != kyc_checked); + FAILIF (GNUNET_NO == kyc_checked); + FAILIF (GNUNET_OK != + plugin->unmark_kyc_merchant (NULL, + session, + "payto://mock")); + FAILIF (GNUNET_OK != + plugin->get_kyc_status (NULL, + session, + "payto://mock", + &kyc_checked)); + + FAILIF (GNUNET_YES == kyc_checked); } + plugin->preflight (plugin->cls, session); |