Commit Graph

129 Commits

Author SHA1 Message Date
Carlosokumu
5b0a383513 use importable api structs 2024-10-21 11:09:37 +03:00
Carlosokumu
f643aa4d14 update tests 2024-10-18 17:37:04 +03:00
Carlosokumu
847b91ca9e Merge branch 'menu-api-errors' into api-structs 2024-10-18 17:15:05 +03:00
Carlosokumu
128a354b34 use api structs 2024-10-18 17:03:48 +03:00
Carlosokumu
81c4189c8e update tests 2024-10-18 17:02:08 +03:00
Carlosokumu
d181c34946 update handler and move transaction struct to models 2024-10-17 12:49:28 +03:00
Carlosokumu
667a21d950 pass account service as a param 2024-10-17 12:37:15 +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
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
a3ff3be5b1 clean up 2024-09-27 16:32:47 +03:00
Carlosokumu
ea52a7cf0a update tests 2024-09-26 23:11:37 +03:00
Carlosokumu
a993026380 update tests 2024-09-26 23:07:48 +03:00
Carlosokumu
bbfe46f162 use current rendering symbol for case selection 2024-09-24 09:01:19 +03:00
Carlosokumu
4a447fbb45 update profile update 2024-09-23 20:10:37 +03:00
alfred-mk
e4d8bfad7b moved the mocks package 2024-09-19 17:17:28 +03:00
alfred-mk
10de039da0 remove obsolete code 2024-09-18 15:42:56 +03:00
2982f08b41 Merge branch 'master' into change-language 2024-09-17 18:30:52 +02:00
alfred-mk
75ab9c66a3 run TestSetLanguage with execPath instead of input 2024-09-17 18:54:07 +03:00
Carlosokumu
599f7a2857 add more tests 2024-09-17 15:44:22 +03:00
alfred-mk
065c8e5c1d use a single set_language function for setting and changing language 2024-09-17 15:26:50 +03:00
alfred-mk
06e23565df added the SetNewLanguage function 2024-09-16 17:29:27 +03:00
Carlosokumu
2ed9f083bb add quit with helpline info
add quit with helpline info
2024-09-16 15:17:56 +01:00
Carlosokumu
3f3e98e637 add pin reset handlers 2024-09-16 14:39:01 +03:00
Carlosokumu
b5ef483f34 clean up tests 2024-09-14 20:07:17 +03:00
Carlosokumu
e99a788c60 add tests 2024-09-14 20:01:58 +03:00
lash
dd2468a4d7 Http server harness
Add storage retrieval solution for http handler

Successfully executed account regisration using http

Set upstream go-vise dependency version in go.mod

Adapt menuhandler to upstream
2024-09-10 13:59:36 +01:00
Carlosokumu
ad48890a9f remove deprecated code 2024-09-10 11:24:09 +03:00
Carlosokumu
a3dffdf4e9 match code refactor 2024-09-10 11:23:25 +03:00
Carlosokumu
47d39a1c6f remove commented test 2024-09-09 17:24:43 +03:00
Carlosokumu
f5f1cbaaba cleanup 2024-09-09 17:18:07 +03:00
Carlosokumu
0cdb23fbea setupmock for user datastore 2024-09-09 17:15:35 +03:00
Carlosokumu
ca655b0cdc add tests 2024-09-09 17:15:04 +03:00
alfred-mk
deb4706b1d Test commit 2024-09-07 17:51:30 +03:00
alfred-mk
e14fd5e496 Return the response and the error 2024-09-07 17:41:05 +03:00
Carlosokumu
dd97531861 remove uimplemented tests 2024-09-07 16:24:37 +03:00
Carlosokumu
be33b7458f cleanup code 2024-09-07 16:22:08 +03:00
Carlosokumu
4c3f63a48f create an account only if not found in gdbm 2024-09-07 10:36:00 +03:00
Carlosokumu
d1d5c897d1 refactor 2024-09-07 09:55:59 +03:00
Carlosokumu
04ea11dd6d setup db mock 2024-09-07 09:55:47 +03:00
Carlosokumu
5722552395 remove old mocks 2024-09-07 09:55:13 +03:00
Carlosokumu
421fbe5543 setup mock for the acccount service 2024-09-07 09:55:00 +03:00
alfred-mk
de24ca0648 Mock the gdm nd updated the TestSaveFirstname and TestSaveFamilyname 2024-09-07 09:30:20 +03:00
Carlosokumu
175cbd1983 setup template test 2024-09-06 17:51:07 +03:00
Carlosokumu
8175d6ac12 setup db mock 2024-09-06 17:50:33 +03:00
alfred-mk
eb9f470ac5 Update the GetProfileInfo to get data from gdbm 2024-09-06 16:17:26 +03:00
Carlosokumu
2cc85379cc update log 2024-09-06 11:02:33 +03:00
alfred-mk
d001c5a7fc Write and read data from gdbm 2024-09-06 09:33:39 +03:00
lash
cad8e86c8b Remove manual init calls in handler funcs 2024-09-05 23:55:54 +01:00