diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-24 20:30:14 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-24 20:30:14 +0200 |
commit | 6e86f307ba68972063f18702e63221b76738c320 (patch) | |
tree | cd68f40ff5362a7d193f18494b9bc86072e0d274 /src/backenddb/test_merchantdb.c | |
parent | 50f2485ae6ce6e99dcf29712c2008eae17e3ddc3 (diff) | |
download | merchant-6e86f307ba68972063f18702e63221b76738c320.tar.gz merchant-6e86f307ba68972063f18702e63221b76738c320.tar.bz2 merchant-6e86f307ba68972063f18702e63221b76738c320.zip |
fix DB test: total_sold must be ignored
Diffstat (limited to 'src/backenddb/test_merchantdb.c')
-rw-r--r-- | src/backenddb/test_merchantdb.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c index bd357ae8..aabc431a 100644 --- a/src/backenddb/test_merchantdb.c +++ b/src/backenddb/test_merchantdb.c @@ -1151,14 +1151,6 @@ run_test_products (struct TestProducts_Closure *cls) &lost_dec, GNUNET_DB_STATUS_SUCCESS_NO_RESULTS)); } - cls->products[0].product.total_sold = 5; - { - struct ProductData sold_dec = cls->products[0]; - - TEST_RET_ON_FAIL (test_update_product (&cls->instance, - &sold_dec, - GNUNET_DB_STATUS_SUCCESS_ONE_RESULT)); - } TEST_RET_ON_FAIL (test_lookup_product (&cls->instance, &cls->products[0])); TEST_RET_ON_FAIL (test_update_product (&cls->instance, |