diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2020-01-16 18:50:31 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2020-01-16 18:50:31 +0100 |
commit | 7321cac34bdc41995652d127dd99f05c34285c38 (patch) | |
tree | 1d28504dac71200a1bbbd82df3443268a8472977 /src/lib/test_taler_exchange_aggregator.c | |
parent | 1e26fc824c5e12460159e203db7fd686ab6b8bd9 (diff) | |
download | exchange-7321cac34bdc41995652d127dd99f05c34285c38.tar.xz |
Got first aggregation to pass
Diffstat (limited to 'src/lib/test_taler_exchange_aggregator.c')
-rw-r--r-- | src/lib/test_taler_exchange_aggregator.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/test_taler_exchange_aggregator.c b/src/lib/test_taler_exchange_aggregator.c index 52734a896..2b3634c78 100644 --- a/src/lib/test_taler_exchange_aggregator.c +++ b/src/lib/test_taler_exchange_aggregator.c @@ -64,7 +64,7 @@ static struct GNUNET_CRYPTO_RsaPrivateKey *coin_pk; */ static struct GNUNET_CRYPTO_RsaPublicKey *coin_pub; -#define MERCHANT_ACCOUNT "irrelevant-merchant-account-uri" +#define USER42_ACCOUNT "42" #if 0 /** @@ -912,10 +912,18 @@ run (void *cls, TALER_TESTING_cmd_insert_deposit ("do-deposit-1", &dbc, "bob", - MERCHANT_ACCOUNT, // not relevant + USER42_ACCOUNT, GNUNET_TIME_UNIT_ZERO, "EUR:1", "EUR:0.1"), + TALER_TESTING_cmd_exec_aggregator ("run-aggregator-on-deposit-1", + config_filename), + + TALER_TESTING_cmd_check_bank_transfer ("expect-deposit-1", + ec.exchange_url, + "EUR:0.89", + bc.exchange_payto, + bc.user42_payto), TALER_TESTING_cmd_end () }; |