diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-15 01:28:56 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-15 01:28:56 +0200 |
commit | be20f4658d9825f1dc72ad51365f3957d5b69f92 (patch) | |
tree | 93f5ba94053b976d16ea9a8d48c30357eb2ec006 /src/testing/test_merchant_order_creation.sh | |
parent | b8649f414c160fc2882977b0fe11fc272feb879d (diff) | |
download | merchant-be20f4658d9825f1dc72ad51365f3957d5b69f92.tar.gz merchant-be20f4658d9825f1dc72ad51365f3957d5b69f92.tar.bz2 merchant-be20f4658d9825f1dc72ad51365f3957d5b69f92.zip |
work around missing DB reset of libeufin
Diffstat (limited to 'src/testing/test_merchant_order_creation.sh')
-rwxr-xr-x | src/testing/test_merchant_order_creation.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testing/test_merchant_order_creation.sh b/src/testing/test_merchant_order_creation.sh index 9bbbea14..46b4b7fc 100755 --- a/src/testing/test_merchant_order_creation.sh +++ b/src/testing/test_merchant_order_creation.sh @@ -8,6 +8,12 @@ function clean_wallet() { exit_cleanup } + +echo "Re-initializing database (needed for current libeufin)" # FIXME-MS: enable idempotency AND db-reset! +dropdb talercheck || true +createdb talercheck + + . setup.sh # Launch exchange, merchant and bank. setup -c "test_template.conf" -enms -u "exchange-account-1" -d "iban" |