Commit graph

13 commits

Author SHA1 Message Date
Carson McManus
eb51a7a2a7
improve robustness of account migrations (#284)
- add an extreme test case for migrations
- improve robustness of manifest migrations

fixes #283
2023-07-09 10:16:02 -04:00
Carson McManus
f8ae7d4e0e
fix SDA encryption compatibility (#236)
fixes #233
2023-06-26 23:02:48 +00:00
Carson McManus
da44f49c56
add some unit tests (#234)
- add unit test for migrating single accounts
- add manifest v1 loading tests
- disable a test
- update comment
- update vscode runners
- add a unit test to make sure migrated maFiles can still be read
2023-06-26 16:44:14 +00:00
Carson McManus
d2ba7d8f1d
fix null OAuthToken field in SDA accounts causing migrations to crash and burn (#227) 2023-06-25 23:52:48 +00:00
Carson McManus
10d97efe16 refactor: make loading single account not borrow manifest mutably 2022-02-22 09:08:39 -05:00
Carson McManus
0bdaa60bbf add test for manifest with 2 accounts 2022-02-21 13:23:59 -05:00
Carson McManus
070be5b629 re-add no webcookie test fixture as a seperate fixture 2022-01-15 09:24:12 -05:00
Carson McManus
669d8e4dad Revert "Add test case for maFile with null WebCookie"
This reverts commit a48ada2252.
2022-01-15 09:23:21 -05:00
Yoav Shai
a48ada2252 Add test case for maFile with null WebCookie 2022-01-15 14:22:50 +02:00
Carson McManus
4e09b98d07 add TwoFactorSecret type, which zeros out memory when deallocated 2021-08-24 22:56:25 -04:00
Carson McManus
8722e9f294 move around fixtures 2021-08-19 17:45:20 -04:00
Carson McManus
edb2663baf add test fixtures for encrypted maFiles 2021-08-17 18:24:26 -04:00
Carson McManus
cee428b708 move fixtures to the right spot 2021-08-14 22:51:03 -04:00