summaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-14 20:33:36 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-14 20:33:36 +0200
commit2ae958d3d5f5464251b5013c974cfeb6a6a9f3a8 (patch)
tree6e07d53bc9a4ac4328d71ab41a330e11760087ee /src/cli
parent8fc430feb1857963a92c40e20c6aa9b5644a55a7 (diff)
downloadanastasis-2ae958d3d5f5464251b5013c974cfeb6a6a9f3a8.tar.gz
anastasis-2ae958d3d5f5464251b5013c974cfeb6a6a9f3a8.tar.bz2
anastasis-2ae958d3d5f5464251b5013c974cfeb6a6a9f3a8.zip
-remove currencies from test
Diffstat (limited to 'src/cli')
-rwxr-xr-xsrc/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh10
-rwxr-xr-xsrc/cli/test_anastasis_reducer_recovery_no_pay.sh10
-rwxr-xr-xsrc/cli/test_iban.sh2
3 files changed, 9 insertions, 13 deletions
diff --git a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
index 10799e6..4c9c4e9 100755
--- a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
+++ b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
@@ -274,12 +274,11 @@ echo -n "Running backup logic ...,"
anastasis-reducer -b > $B1FILE
echo -n "."
anastasis-reducer -a \
- '{"continent": "Testcontinent"}' \
+ '{"continent": "Demoworld"}' \
select_continent < $B1FILE > $B2FILE
echo -n "."
anastasis-reducer -a \
- '{"country_code": "xx",
- "currencies":["TESTKUDOS"]}' \
+ '{"country_code": "xx"}' \
select_country < $B2FILE > $B1FILE
echo -n "."
anastasis-reducer -a \
@@ -407,11 +406,10 @@ echo " OK"
echo -n "Running recovery basic logic ..."
anastasis-reducer -r > $R1FILE
anastasis-reducer -a \
- '{"continent": "Testcontinent"}' \
+ '{"continent": "Demoworld"}' \
select_continent < $R1FILE > $R2FILE
anastasis-reducer -a \
- '{"country_code": "xx",
- "currencies":["TESTKUDOS"]}' \
+ '{"country_code": "xx"}' \
select_country < $R2FILE > $R1FILE
anastasis-reducer -a '{"identity_attributes": { "full_name": "Max Musterman", "sq_number": "4", "birthdate": "2000-01-01" }}' enter_user_attributes < $R1FILE > $R2FILE
diff --git a/src/cli/test_anastasis_reducer_recovery_no_pay.sh b/src/cli/test_anastasis_reducer_recovery_no_pay.sh
index b82c708..7ae78d9 100755
--- a/src/cli/test_anastasis_reducer_recovery_no_pay.sh
+++ b/src/cli/test_anastasis_reducer_recovery_no_pay.sh
@@ -124,12 +124,11 @@ echo -n "Running backup logic ...,"
anastasis-reducer -b > $B1FILE
echo -n "."
anastasis-reducer -a \
- '{"continent": "Testcontinent"}' \
+ '{"continent": "Demoworld"}' \
select_continent < $B1FILE > $B2FILE
echo -n "."
anastasis-reducer -a \
- '{"country_code": "xx",
- "currencies":["TESTKUDOS"]}' \
+ '{"country_code": "xx"}' \
select_country < $B2FILE > $B1FILE
echo -n "."
anastasis-reducer -a \
@@ -199,11 +198,10 @@ echo " OK"
echo -n "Running recovery basic logic ..."
anastasis-reducer -r > $R1FILE
anastasis-reducer -a \
- '{"continent": "Testcontinent"}' \
+ '{"continent": "Demoworld"}' \
select_continent < $R1FILE > $R2FILE
anastasis-reducer -a \
- '{"country_code": "xx",
- "currencies":["TESTKUDOS"]}' \
+ '{"country_code": "xx" }' \
select_country < $R2FILE > $R1FILE
anastasis-reducer -a '{"identity_attributes": { "full_name": "Max Musterman", "sq_number": "4", "birthdate": "2000-01-01" }}' enter_user_attributes < $R1FILE > $R2FILE
diff --git a/src/cli/test_iban.sh b/src/cli/test_iban.sh
index b14820e..ce315b0 100755
--- a/src/cli/test_iban.sh
+++ b/src/cli/test_iban.sh
@@ -368,7 +368,7 @@ echo " OK"
echo -n "Running recovery basic logic ..."
anastasis-reducer -r > $R1FILE
anastasis-reducer -a \
- '{"continent": "Testcontinent"}' \
+ '{"continent": "Demoworld"}' \
select_continent < $R1FILE > $R2FILE
anastasis-reducer -a \
'{"country_code": "xx",