Commit e588604
test: skip keychain unit tests when keychain unavailable
Fixes 4 failing keychain unit tests in Linux CI environment by checking
keychain availability and skipping tests when unavailable.
Modified tests:
- TestEnableKeychain (line 1344)
- TestEnableKeychainAlreadyEnabled (line 1374)
- TestGetKeychainStatus (line 1422)
- TestRemoveVault (line 1458)
Uses KeychainService.IsAvailable() to detect platform support before
running keychain operations.
Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ab1fcd3 commit e588604
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
1344 | 1349 | | |
1345 | 1350 | | |
1346 | 1351 | | |
| |||
1366 | 1371 | | |
1367 | 1372 | | |
1368 | 1373 | | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
1369 | 1379 | | |
1370 | 1380 | | |
1371 | 1381 | | |
| |||
1409 | 1419 | | |
1410 | 1420 | | |
1411 | 1421 | | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1412 | 1427 | | |
1413 | 1428 | | |
1414 | 1429 | | |
| |||
1440 | 1455 | | |
1441 | 1456 | | |
1442 | 1457 | | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
1443 | 1463 | | |
1444 | 1464 | | |
1445 | 1465 | | |
| |||
0 commit comments