Commit Graph
1224 Commits
Author SHA1 Message Date
Carlosokumu 4416c008fc add menu traversal tests 2024-10-17 12:36:24 +03:00
Carlosokumu 0a7389a71d explicitly reset authorize flag 2024-10-17 12:36:02 +03:00
Carlosokumu 383e64776d chore: change pin to PIN 2024-10-17 12:35:44 +03:00
Carlosokumu a27c1790b8 setup test data file 2024-10-17 12:34:17 +03:00
Carlosokumu f81e3508ca define engine to run tests 2024-10-17 12:33:38 +03:00
Carlosokumu 127219f510 define build for running online and offline tests 2024-10-17 12:33:09 +03:00
Carlosokumu 54cc33c819 Delete connstr in threadgdbm global channel map on close 2024-10-17 12:32:31 +03:00
Carlosokumu a51f739d06 pass account service as a param 2024-10-17 12:31:33 +03:00
Carlosokumu 8d047ebe05 define universal group driver 2024-10-17 12:30:58 +03:00
Carlosokumu 4e840ac17c add uuid 2024-10-17 12:30:36 +03:00
Carlosokumu f73b7a8b04 setup api responses 2024-10-16 22:40:40 +03:00
lash e986eaa538 Merge pull request 'menu-api-errors' (#112) from menu-api-errors into master
Reviewed-on: urdt/ussd#112
2024-10-16 19:08:46 +02:00
alfred-mk d8db8df643 use go-vise v0.2.0 2024-10-15 23:42:39 +03:00
alfred-mk 09eac03e10 use env variables 2024-10-15 23:41:16 +03:00
alfred-mk 51122d0fc5 added an env.example file 2024-10-15 22:31:37 +03:00
alfred-mk d05c666513 Merge branch 'master' into menu-voucherlist 2024-10-15 17:08:48 +03:00
alfred-mk a336856c9b use separate functions to process voucher data 2024-10-15 17:02:51 +03:00
Carlosokumu 0be570ae2d add check for api call failure 2024-10-15 16:31:31 +03:00
Carlosokumu 6a36bc43b5 add check for api call failure 2024-10-15 16:31:15 +03:00
Carlosokumu 1d27a88908 add test on validate amount 2024-10-15 16:30:29 +03:00
alfred-mk f378f15422 updated tests 2024-10-15 16:29:51 +03:00
alfred-mk b2fb9faf6c use the active balance to validate the amount 2024-10-15 16:17:33 +03:00
alfred-mk 859e203a00 removed debug comments 2024-10-15 15:54:43 +03:00
alfred-mk 6c6af5ec21 set a default voucher as the active sym if none exists 2024-10-15 15:46:02 +03:00
alfred-mk 8ed98b3e6c resolve case issue 2024-10-15 14:53:00 +03:00
Carlosokumu 4889e6d18b Merge remote-tracking branch 'origin' into menu-api-errors 2024-10-15 14:04:45 +03:00
Carlosokumu 368c25125a set flag count to 128 2024-10-15 13:59:49 +03:00
Carlosokumu 283793a2ae add swahili menu option 2024-10-15 13:57:45 +03:00
Carlosokumu bec7e5c69f update: fetch balances in a sepate function,show profile information in swahili and english 2024-10-15 13:57:05 +03:00
Carlosokumu d638aba85e update tests 2024-10-15 13:50:28 +03:00
Carlosokumu df7788dd0b return actual reponses on the api calls 2024-10-15 13:48:14 +03:00
Carlosokumu 4a62773098 add handler fetching custodial balances 2024-10-15 13:44:50 +03:00
Carlosokumu 26d315b032 add check for api call failure 2024-10-15 13:42:20 +03:00
Carlosokumu 1927544533 reset authorized flag 2024-10-15 13:40:40 +03:00
Carlosokumu c641a0c669 add api failure nodes 2024-10-14 23:19:09 +03:00
Carlosokumu 952da86931 update balance nodes 2024-10-14 23:18:42 +03:00
Carlosokumu be6391686f update return type 2024-10-14 23:17:57 +03:00
Carlosokumu 65794c1b20 add api calls flag 2024-10-14 23:17:17 +03:00
lash 967e53d83b Merge branch 'master' into lash/ssh-4 2024-10-14 14:50:12 +01:00
lash b058f9d770 Merge pull request 'Adapter to enable subdomain of db key prefixes' (#102) from lash/subprefix into master
Reviewed-on: urdt/ussd#102
2024-10-14 15:11:07 +02:00
alfred-mk 7df77a1343 updated the ValidateAmount to also check the active symbol, updated tests 2024-10-12 20:07:06 +03:00
alfred-mk f5dbfe553d use the check_balance for the max_amount 2024-10-12 20:06:00 +03:00
alfred-mk 7fe8f0b7d5 updated the args under FetchVouchers 2024-10-12 18:03:13 +03:00
alfred-mk a9f9867976 added the TestSetVoucher 2024-10-12 17:36:00 +03:00
alfred-mk b6d24bf929 update the TestCheckBalance 2024-10-12 16:29:12 +03:00
alfred-mk e9684fcf45 check whether the active symbol is empty 2024-10-12 16:28:02 +03:00
alfred-mk a5b1c5b74e cleaned up the code 2024-10-12 14:32:40 +03:00
alfred-mk 672eebb8fb display the balance based on the symbol 2024-10-11 09:42:08 +03:00
alfred-mk 8f834b3d76 ensure that a user is authorized 2024-10-11 09:41:47 +03:00
alfred-mk 6c93fb76b1 correctly added the flag and the flag count 2024-10-11 09:36:43 +03:00