Commit graph

13 commits

Author SHA1 Message Date
Daniel Krol
3d492d8b86 Update API: PostWallet no longer returns a wallet 2022-06-23 15:22:31 -04:00
Daniel Krol
a6d41df4e4 Simplify expectErrorString 2022-06-22 11:37:03 -04:00
Daniel Krol
c6ef525f7c Oops, missed fmt 2022-06-22 11:06:05 -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
512ebe3e95 Protocol changes
* Regress from `lastSynced` to just `sequence` to start with something simpler
* Simplified payload: separate metadata, assume canonical way to hmac it together
  * No more "wallet state" except as a simple wrapper on the front end
* Version number in wallet payloads
2022-06-10 15:04:31 -04:00
Renamed from server/wallet_state_test.go (Browse further)