Skip to content

Commit 8877e6c

Browse files
LouisCADtevincent
authored andcommitted
test: Add note in KeyPairManagerTest for Apple platforms
1 parent 8cc48af commit 8877e6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

multiplatform-lib/src/appleTest/kotlin/internal/KeyPairManagerTest.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class KeyPairManagerTest {
3232
runTest {
3333
val userId = 12345
3434
val keyId = "keyId"
35+
//NOTE: The default KeyChain is not available on headless simulators,
36+
// so we need to remove this test, or update it to use in-memory keys instead.
37+
// Right now, it just fails.
3538
val error = keyPairManager.generateNewKey(userId, keyId)
3639
assertNull(error)
3740

0 commit comments

Comments
 (0)