Commit Graph

601 Commits

Author SHA1 Message Date
alfred-mk
39c0560abe Updated the test 2024-10-24 15:21:48 +03:00
alfred-mk
75459f852b Return the full balance string 2024-10-24 15:12:57 +03:00
alfred-mk
6200728435 Updated the menuhander test 2024-10-24 14:45:15 +03:00
alfred-mk
579b46db65 Replace the public key with the sessionId 2024-10-24 14:34:12 +03:00
Carlosokumu
f99486c190 correct import 2024-10-24 12:07:00 +03:00
Carlosokumu
57a07af8ca correct import 2024-10-24 12:06:44 +03:00
Carlosokumu
5692440099 move to testutil 2024-10-24 12:05:27 +03:00
Carlosokumu
651969668f move to testutil 2024-10-24 12:05:11 +03:00
Carlosokumu
f3a028f1fc move to testutil 2024-10-24 12:03:32 +03:00
Carlosokumu
9f2d57ea03 update tests 2024-10-24 10:10:14 +03:00
Carlosokumu
d74a4cc33b update service mock method signatures 2024-10-24 10:10:03 +03:00
Carlosokumu
308ca99fb0 remove reload account creation 2024-10-24 10:02:32 +03:00
Carlosokumu
08e709f1b3 check for error responses 2024-10-24 10:02:15 +03:00
Carlosokumu
9bc9d04a49 use errresponse and okresponse for deserialization 2024-10-24 10:00:38 +03:00
alfred-mk
a553731f02 Cleaned up code 2024-10-23 17:45:41 +03:00
alfred-mk
4011597d9c Check specific db error 2024-10-23 14:02:13 +03:00
alfred-mk
176473aa26 Rename prefix to vouchers 2024-10-23 13:54:42 +03:00
Carlosokumu
b41e52af63 pass context.Context 2024-10-23 12:45:54 +03:00
Carlosokumu
fb32dde136 run go mod tidy 2024-10-23 12:45:10 +03:00
Carlosokumu
1e6cf6a33a run mod tidy 2024-10-23 11:08:51 +03:00
Carlosokumu
2725323f16 Merge branch 'master' into tests-refactor 2024-10-23 11:06:10 +03:00
alfred-mk
5f1ee396d8 Fix PIN being requested twice 2024-10-23 06:35:19 +03:00
Carlosokumu
5f2c6cce16 add required track endpoint 2024-10-22 21:36:28 +03:00
Carlosokumu
3179ec1f62 add local track endpoint 2024-10-22 21:35:52 +03:00
Carlosokumu
b9a63f3c6f merge dep 2024-10-22 21:30:48 +03:00
Carlosokumu
1d255372b2 Merge branch 'master' into api-structs 2024-10-22 21:05:51 +03:00
Carlosokumu
306666a15e load and reload after halt 2024-10-22 20:37:30 +03:00
Carlosokumu
e05dbb4885 check for back option 2024-10-22 20:36:58 +03:00
alfred-mk
637e107525 Merge branch 'master' into menu-voucherlist 2024-10-22 17:10:51 +03:00
59d0446020 Merge pull request 'postgres-switch' (#113) from postgres-switch into master
Reviewed-on: urdt/ussd#113
2024-10-22 16:04:56 +02:00
alfred-mk
f37ec13c75 polish code 2024-10-22 16:31:29 +03:00
alfred-mk
0547bc7e5f added send menu test with dynamic max_amount 2024-10-22 14:24:22 +03:00
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