Merge branch 'master' into hash-pin

This commit is contained in:
Alfred Kamanda 2025-01-03 06:58:41 +03:00
commit 0fe48a30fa
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703
11 changed files with 31 additions and 23 deletions

View File

@ -62,10 +62,10 @@
},
{
"input": "1234",
"expectedContent": "Select language:\n0:English\n1:Kiswahili"
"expectedContent": "Select language:\n1:English\n2:Kiswahili"
},
{
"input": "0",
"input": "1",
"expectedContent": "Your language change request was successful.\n0:Back\n9:Quit"
},
{
@ -430,7 +430,7 @@
},
{
"input": "1234",
"expectedContent": "My profile:\nName: foo bar\nGender: male\nAge: 80\nLocation: Kilifi\nYou provide: Bananas\n\n0:Back"
"expectedContent": "My profile:\nName: foo bar\nGender: male\nAge: 80\nLocation: Kilifi\nYou provide: Bananas\n\n0:Back\n9:Quit"
},
{
"input": "0",

View File

@ -7,14 +7,14 @@
"steps": [
{
"input": "",
"expectedContent": "Welcome to Sarafu Network\nPlease select a language\n0:English\n1:Kiswahili"
"expectedContent": "Welcome to Sarafu Network\nPlease select a language\n1:English\n2:Kiswahili"
},
{
"input": "0",
"expectedContent": "Do you agree to terms and conditions?\nhttps://grassecon.org/pages/terms-and-conditions\n\n0:Yes\n1:No"
"input": "1",
"expectedContent": "Do you agree to terms and conditions?\nhttps://grassecon.org/pages/terms-and-conditions\n\n1:Yes\n2:No"
},
{
"input": "0",
"input": "1",
"expectedContent": "Please enter a new four number PIN for your account:\n0:Exit"
},
{
@ -40,14 +40,14 @@
"steps": [
{
"input": "",
"expectedContent": "Welcome to Sarafu Network\nPlease select a language\n0:English\n1:Kiswahili"
},
{
"input": "0",
"expectedContent": "Do you agree to terms and conditions?\nhttps://grassecon.org/pages/terms-and-conditions\n\n0:Yes\n1:No"
"expectedContent": "Welcome to Sarafu Network\nPlease select a language\n1:English\n2:Kiswahili"
},
{
"input": "1",
"expectedContent": "Do you agree to terms and conditions?\nhttps://grassecon.org/pages/terms-and-conditions\n\n1:Yes\n2:No"
},
{
"input": "2",
"expectedContent": "Thank you for using Sarafu. Goodbye!"
}
]

View File

@ -7,3 +7,4 @@ HALT
INCMP _ 0
INCMP my_balance 1
INCMP community_balance 2
INCMP . *

View File

@ -2,9 +2,9 @@ LOAD reset_account_authorized 0
LOAD reset_incorrect 0
CATCH incorrect_pin flag_incorrect_pin 1
CATCH pin_entry flag_account_authorized 0
MOUT english 0
MOUT kiswahili 1
MOUT english 1
MOUT kiswahili 2
HALT
INCMP set_default 0
INCMP set_swa 1
INCMP set_default 1
INCMP set_swa 2
INCMP . *

View File

@ -9,3 +9,4 @@ MOUT quit 9
HALT
INCMP _ 0
INCMP quit 9
INCMP . *

View File

@ -20,3 +20,4 @@ INCMP edit_yob 4
INCMP edit_location 5
INCMP edit_offerings 6
INCMP view_profile 7
INCMP . *

View File

@ -14,3 +14,4 @@ INCMP balances 3
INCMP check_statement 4
INCMP pin_management 5
INCMP address 6
INCMP . *

View File

@ -9,3 +9,4 @@ MOUT quit 9
HALT
INCMP _ 0
INCMP quit 9
INCMP . *

View File

@ -1,6 +1,6 @@
MOUT english 0
MOUT kiswahili 1
MOUT english 1
MOUT kiswahili 2
HALT
INCMP set_eng 0
INCMP set_swa 1
INCMP set_eng 1
INCMP set_swa 2
INCMP . *

View File

@ -1,5 +1,5 @@
MOUT yes 0
MOUT no 1
MOUT yes 1
MOUT no 2
HALT
INCMP create_pin 0
INCMP create_pin 1
INCMP quit *

View File

@ -4,5 +4,8 @@ LOAD reset_incorrect 6
CATCH incorrect_pin flag_incorrect_pin 1
CATCH pin_entry flag_account_authorized 0
MOUT back 0
MOUT quit 9
HALT
INCMP _ 0
INCMP quit 9
INCMP . *