Got first aggregation to pass

This commit is contained in:
Marcello Stanisci 2020-01-16 18:50:31 +01:00
parent 1e26fc824c
commit 7321cac34b
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
4 changed files with 13 additions and 5 deletions

@ -1 +1 @@
Subproject commit ca53235ccfa0458ebf11c204888ca370e20ec3f5
Subproject commit 934a6a18301e81c4fd1b3a8cda2dc13dca4741cc

View File

@ -57,7 +57,7 @@ LEGAL_RESERVE_EXPIRATION_TIME = 7 years
[account-1]
# What is the account URL?
URL = "payto://x-taler-bank/localhost:8082/3"
URL = "payto://x-taler-bank/localhost:8082/2"
method = "x-taler-bank"
WIRE_RESPONSE = ${TALER_CONFIG_HOME}/account-1.json
ENABLE_DEBIT = YES

View File

@ -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 ()
};

View File

@ -96,7 +96,7 @@ run (void *cls,
5),
TALER_TESTING_cmd_exec_aggregator ("run-aggregator-on-expired-reserve",
config_filename),
TALER_TESTING_cmd_check_bank_transfer ("check-reserve-expiration-transfer",
TALER_TESTING_cmd_check_bank_transfer ("expect-deposit-1",
ec.exchange_url,
"EUR:4.99",
bc.exchange_payto,