summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-07-10 15:56:26 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-07-10 15:56:26 +0200
commit4630d92bd0693b8b9294551fb4fe556b053f5d8c (patch)
treebd06aab64c35342f6c8a17b626173af84a322f57 /src
parentdd9837ff8b5f5beb45c9eda24ecf4ec64cc85317 (diff)
downloadexchange-4630d92bd0693b8b9294551fb4fe556b053f5d8c.tar.gz
exchange-4630d92bd0693b8b9294551fb4fe556b053f5d8c.tar.bz2
exchange-4630d92bd0693b8b9294551fb4fe556b053f5d8c.zip
Test last change.
Diffstat (limited to 'src')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c2
-rw-r--r--src/exchangedb/test_exchangedb.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 67b0be4d..8aac5e43 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -6592,7 +6592,7 @@ postgres_clean_kyc_events (void *cls,
};
return GNUNET_PQ_eval_prepared_non_select (session->conn,
- "clean_kyv_events",
+ "clean_kyc_events",
params);
}
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 07372cfb..0bff60f9 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -390,6 +390,10 @@ kcs (void *cls,
FAILIF ((50 != sum.value) || (70 != sum.fraction));
+ FAILIF (2 != plugin->clean_kyc_events (NULL,
+ session,
+ merchant_serial_id));
+
drop:
return;
}