From 2ae958d3d5f5464251b5013c974cfeb6a6a9f3a8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 14 Apr 2022 20:33:36 +0200 Subject: -remove currencies from test --- .../test_anastasis_reducer_recovery_enter_user_attributes.sh | 10 ++++------ src/cli/test_anastasis_reducer_recovery_no_pay.sh | 10 ++++------ src/cli/test_iban.sh | 2 +- 3 files changed, 9 insertions(+), 13 deletions(-) (limited to 'src/cli') 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", -- cgit v1.2.3