This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Commit 2b7a3ec
authored
Add test for password creation and adjust mocks (#1764)
Add passwordCreatedOnFirstImport test that verifies a keystore password is initialized on the first wallet import (asserts empty before import and 64-char password after). Also modify concurrentImportAndDelete test to pass an explicit MockKeystorePassword (memoryPassword) when creating the mock keystore and set isWalletsEmpty to false for imports to make the concurrent test deterministic.1 parent 571e1fe commit 2b7a3ec
1 file changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
271 | 288 | | |
272 | 289 | | |
273 | | - | |
| 290 | + | |
274 | 291 | | |
275 | 292 | | |
276 | 293 | | |
277 | 294 | | |
278 | 295 | | |
279 | 296 | | |
280 | 297 | | |
281 | | - | |
| 298 | + | |
282 | 299 | | |
283 | 300 | | |
284 | 301 | | |
| |||
0 commit comments