aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/test_merchantdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/test_merchantdb.c')
-rw-r--r--src/backenddb/test_merchantdb.c21
1 files changed, 5 insertions, 16 deletions
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c
index 3591a133..5f8b5eb7 100644
--- a/src/backenddb/test_merchantdb.c
+++ b/src/backenddb/test_merchantdb.c
@@ -5572,8 +5572,7 @@ kyc_status_ok (void *cls,
const char *payto_uri,
const char *exchange_url,
struct GNUNET_TIME_Timestamp last_check,
- bool kyc_ok,
- enum TALER_AmlDecisionState ades)
+ bool kyc_ok)
{
bool *fail = cls;
@@ -5589,8 +5588,7 @@ kyc_status_fail (void *cls,
const char *payto_uri,
const char *exchange_url,
struct GNUNET_TIME_Timestamp last_check,
- bool kyc_ok,
- enum TALER_AmlDecisionState ades)
+ bool kyc_ok)
{
bool *fail = cls;
@@ -5627,33 +5625,24 @@ test_kyc (void)
&account.h_wire,
"https://exchange.net/",
1LLU,
- NULL,
- NULL,
now,
- false,
- TALER_AML_NORMAL));
+ false));
TEST_RET_ON_FAIL (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
plugin->account_kyc_set_status (plugin->cls,
instance.instance.id,
&account.h_wire,
"https://exchange2.com/",
1LLU,
- NULL,
- NULL,
now,
- false,
- TALER_AML_NORMAL));
+ false));
TEST_RET_ON_FAIL (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
plugin->account_kyc_set_status (plugin->cls,
instance.instance.id,
&account.h_wire,
"https://exchange.net/",
1LLU,
- NULL,
- NULL,
now,
- true,
- TALER_AML_NORMAL));
+ true));
fail = true;
TEST_RET_ON_FAIL (1 !=
plugin->account_kyc_get_status (plugin->cls,