Daniel Krol
|
ff25de92e7
|
Make sure we're saving as UTC to the db.
Don't know whether it'd even be an issue, but better not to have a bunch of problems saved in databases.
|
2022-06-24 14:28:07 -04:00 |
|
Daniel Krol
|
99f17511e4
|
Test GetUserId
|
2022-06-24 13:26:21 -04:00 |
|
Daniel Krol
|
6d34f39f12
|
CreateAccount test and cleanup
|
2022-06-24 13:15:21 -04:00 |
|
Daniel Krol
|
55b4db0fe8
|
GetWallet test
|
2022-06-24 12:19:06 -04:00 |
|
Daniel Krol
|
70b8f1f886
|
SetWallet tests
|
2022-06-24 11:59:04 -04:00 |
|
Daniel Krol
|
7af1ea90bc
|
Shorten test strings
|
2022-06-24 11:32:13 -04:00 |
|
Daniel Krol
|
76d7737341
|
Split out wallet test init
|
2022-06-24 11:30:53 -04:00 |
|
Daniel Krol
|
377f598b23
|
Clean up wallet tests
|
2022-06-24 11:20:51 -04:00 |
|
Daniel Krol
|
2ff2b7dee0
|
var name
|
2022-06-24 11:19:32 -04:00 |
|
Daniel Krol
|
157f1233d7
|
Clean up token tests with helper functions
|
2022-06-23 20:33:49 -04:00 |
|
Daniel Krol
|
9ece00c128
|
Wallet update tests
|
2022-06-23 20:03:26 -04:00 |
|
Daniel Krol
|
127f8724a4
|
Fix comments and test error messages
|
2022-06-23 19:57:55 -04:00 |
|
Daniel Krol
|
bfd797be03
|
Insert wallet test
|
2022-06-23 18:12:01 -04:00 |
|
Daniel Krol
|
b1c987815d
|
Update test stubs to match current store functions
|
2022-06-23 17:29:16 -04:00 |
|
Daniel Krol
|
3d492d8b86
|
Update API: PostWallet no longer returns a wallet
|
2022-06-23 15:22:31 -04:00 |
|
Daniel Krol
|
94114ec36d
|
Finish server tests
|
2022-06-22 17:56:29 -04:00 |
|
Daniel Krol
|
cbcd629469
|
Switch to hashlib scrypt because it sounds less dangerous than "hazmat"
|
2022-06-22 16:46:21 -04:00 |
|
Daniel Krol
|
5c5b7b794c
|
update scrypt params based on a stack overflow comment. still need to audit!
|
2022-06-22 12:02:48 -04:00 |
|
Daniel Krol
|
a6d41df4e4
|
Simplify expectErrorString
|
2022-06-22 11:37:03 -04:00 |
|
Daniel Krol
|
ea4b907293
|
checkAuth test
|
2022-06-22 11:17:09 -04:00 |
|
Daniel Krol
|
c6ef525f7c
|
Oops, missed fmt
|
2022-06-22 11:06:05 -04:00 |
|
Daniel Krol
|
52ef7ba8c1
|
Add an auth test case I forgot about
|
2022-06-22 11:04:39 -04:00 |
|
Daniel Krol
|
e0f847a381
|
Basic validation checks in error tests (just to make sure validation functions are called)
|
2022-06-21 19:48:32 -04:00 |
|
Daniel Krol
|
39015963e6
|
wallet request validation test. loopify auth request validation test.
|
2022-06-21 19:27:54 -04:00 |
|
Daniel Krol
|
408a4817dc
|
Test validation errors for get/post wallet
|
2022-06-21 18:25:22 -04:00 |
|
Daniel Krol
|
db1c55dff0
|
TestServerPostWallet
|
2022-06-21 16:59:32 -04:00 |
|
Daniel Krol
|
d38fdf0d11
|
Axe function we folded into other function
|
2022-06-21 11:56:32 -04:00 |
|
Daniel Krol
|
1f4bf9da6d
|
Add errors to GetWallet test
|
2022-06-21 11:52:03 -04:00 |
|
Daniel Krol
|
8ba482521f
|
Get server/wallet test ready for loop with variations
|
2022-06-20 20:47:58 -04:00 |
|
Daniel Krol
|
322e4d38f5
|
Improve a few tests.
|
2022-06-20 18:10:54 -04:00 |
|
Daniel Krol
|
9ddf00d3f3
|
Test getWallet (via handleWallet)
|
2022-06-19 18:54:59 -04:00 |
|
Daniel Krol
|
fd7e1988d3
|
Remove placeholders for overly focused tests
|
2022-06-19 17:51:40 -04:00 |
|
Daniel Krol
|
62866a0045
|
Handle oversized requests.
|
2022-06-19 17:49:05 -04:00 |
|
Daniel Krol
|
f472b73a68
|
Found a decent chunk of repeated code in http handler tests
|
2022-06-19 16:57:37 -04:00 |
|
Daniel Krol
|
05bf9e51ff
|
Test register errors
|
2022-06-19 16:41:20 -04:00 |
|
Daniel Krol
|
f9492e64fa
|
Switch to specifying errors to return for mocked store functions.
|
2022-06-19 16:40:16 -04:00 |
|
Daniel Krol
|
11255d7d41
|
Test getPostData, factor stuff out of auth test
|
2022-06-19 15:56:10 -04:00 |
|
Daniel Krol
|
19ed8f9f89
|
Test missing email explicitly
|
2022-06-17 16:15:27 -04:00 |
|
Daniel Krol
|
da849cc9be
|
Test (and fix) validation for register
|
2022-06-17 16:12:20 -04:00 |
|
Daniel Krol
|
8146fa6ebd
|
Implement register success test
|
2022-06-17 15:39:21 -04:00 |
|
Daniel Krol
|
1cbf2e82b5
|
Do the API versioning differently
I want the consts to contain the API version in them.
|
2022-06-17 15:38:44 -04:00 |
|
Daniel Krol
|
0109c2f8f1
|
Fix test for error string
|
2022-06-17 12:58:44 -04:00 |
|
Daniel Krol
|
05505bfebb
|
Better organized fake store functions for server test
|
2022-06-17 12:52:17 -04:00 |
|
Daniel Krol
|
3391f653ac
|
Oops, need to remove version from more payloads
|
2022-06-17 12:49:22 -04:00 |
|
Daniel Krol
|
23bd804f97
|
API Version in the URL, not the payload. Duh.
|
2022-06-16 17:58:11 -04:00 |
|
Daniel Krol
|
2b60c1d5ac
|
Proper hmac from what I can tell
|
2022-06-16 17:21:57 -04:00 |
|
Daniel Krol
|
0969860290
|
Comment
|
2022-06-16 17:14:27 -04:00 |
|
Daniel Krol
|
e2a4e18a43
|
Proper KDF, though I need to tweak parameters
|
2022-06-16 17:06:55 -04:00 |
|
Daniel Krol
|
5d14041c86
|
Always sleep after set_preference for gen-readme.py
|
2022-06-16 16:14:57 -04:00 |
|
Daniel Krol
|
64dfae6637
|
CURRENT_VERSION -> WalletSync.API_VERSION
|
2022-06-16 14:11:11 -04:00 |
|