Commit Graph

969 Commits

Author SHA1 Message Date
alfred-mk
02cb75f97a increase the size to resolve sink error 2024-10-21 17:14:59 +03:00
Carlosokumu
9c75942b0b chore: remove commented code 2024-10-21 16:54:16 +03:00
alfred-mk
5909659fa9 Use dynamic balance 2024-10-21 16:52:07 +03:00
Carlosokumu
eaac771722 move into testtag package 2024-10-21 16:48:24 +03:00
Carlosokumu
f3a5178de7 update imports 2024-10-21 16:47:43 +03:00
Carlosokumu
549d09890b update imports 2024-10-21 16:47:25 +03:00
Carlosokumu
4a9ef6b5f2 move test account service to testutil 2024-10-21 16:47:00 +03:00
Carlosokumu
961d8d1a5c update package import 2024-10-21 16:46:29 +03:00
Carlosokumu
a904cdbf44 move driver to testutil 2024-10-21 16:45:06 +03:00
Carlosokumu
3af943f77c move account service tags switch to test tags package 2024-10-21 16:44:02 +03:00
Carlosokumu
14455f65cb move account service to testutil 2024-10-21 16:43:24 +03:00
Carlosokumu
0c08654df3 move driver to testutil 2024-10-21 16:42:57 +03:00
Carlosokumu
acd0af25c6 catch api call error 2024-10-21 11:11:04 +03:00
Carlosokumu
66d2e2e838 add custodial api structs 2024-10-21 11:10:42 +03:00
Carlosokumu
4beeb9986a use importable api structs 2024-10-21 11:10:23 +03:00
Carlosokumu
d81bc0eefb use importable api structs 2024-10-21 11:10:01 +03:00
Carlosokumu
5b0a383513 use importable api structs 2024-10-21 11:09:37 +03:00
Carlosokumu
367d3f0593 remove manually added api.go file 2024-10-21 11:07:32 +03:00
alfred-mk
415c807464 include the Database in context 2024-10-21 09:22:07 +03:00
alfred-mk
9f562fe53e use postgres directly from go-vise 2024-10-19 23:06:58 +03:00
alfred-mk
3bf2045f15 added FetchVouchers to the TestAccountService 2024-10-19 16:07:40 +03:00
alfred-mk
aced3e4fc3 Merge branch 'master' into menu-voucherlist 2024-10-19 15:38:54 +03:00
alfred-mk
fb0d2db156 Merge branch 'master' into postgres-switch 2024-10-19 15:28:59 +03:00
alfred-mk
a40fc37da4 implement postgres for the state store 2024-10-19 15:27:23 +03:00
alfred-mk
f13f5996c1 remove thread abstraction from postgres 2024-10-19 14:51:41 +03:00
alfred-mk
00a2beae50 rename file 2024-10-19 13:41:19 +03:00
alfred-mk
25bc7006a4 show a balance of 0 and prevent sending when no voucher exists 2024-10-18 18:31:40 +03:00
Carlosokumu
f643aa4d14 update tests 2024-10-18 17:37:04 +03:00
Carlosokumu
b8860478b6 implement expected structs 2024-10-18 17:36:51 +03:00
Carlosokumu
847b91ca9e Merge branch 'menu-api-errors' into api-structs 2024-10-18 17:15:05 +03:00
Carlosokumu
353e24de33 define api structs 2024-10-18 17:04:43 +03:00
Carlosokumu
1c57c95d93 use api structs 2024-10-18 17:04:02 +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
b8e12e5215 update api endpoints 2024-10-18 17:01:21 +03:00
113f1a5b34 Merge pull request 'menu-traversal-v2' (#115) from menu-traversal-v2 into master
Reviewed-on: #115
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2024-10-18 15:38:56 +02:00
Carlosokumu
4f04362835 pass error description to error response 2024-10-17 16:08:18 +03:00
alfred-mk
fd8bfae8c7 updated the vise version to include the updated column 2024-10-17 15:35:35 +03:00
alfred-mk
eea3be3a39 resolve failing test 2024-10-17 13:49:56 +03:00
alfred-mk
849a950fbc Merge branch 'master' into menu-voucherlist 2024-10-17 13:44:31 +03:00
alfred-mk
6727bd3769 polished code 2024-10-17 12:55:47 +03:00
Carlosokumu
9f8fcf1ed0 attach account service to handler 2024-10-17 12:54:11 +03:00
Carlosokumu
4a599b902d define transaction 2024-10-17 12:49:51 +03:00
alfred-mk
a759f47c8e Merge branch 'master' into postgres-switch 2024-10-17 12:49:28 +03:00
Carlosokumu
d181c34946 update handler and move transaction struct to models 2024-10-17 12:49:28 +03:00
alfred-mk
4968cdff37 switch to postgres once the flag is set 2024-10-17 12:47:57 +03:00
Carlosokumu
bfa6eac4c2 define a test account service 2024-10-17 12:47:44 +03:00
alfred-mk
1aeb18379c added a db flag and Database to the context 2024-10-17 12:46:20 +03:00
Carlosokumu
667a21d950 pass account service as a param 2024-10-17 12:37:15 +03:00
Carlosokumu
4416c008fc add menu traversal tests 2024-10-17 12:36:24 +03:00