diff --git a/src/test/java/org/cryptomator/macos/keychain/KeychainAccessProviderTest.java b/src/test/java/org/cryptomator/macos/keychain/KeychainAccessProviderTest.java index 19c0ad2..6d8d6b6 100644 --- a/src/test/java/org/cryptomator/macos/keychain/KeychainAccessProviderTest.java +++ b/src/test/java/org/cryptomator/macos/keychain/KeychainAccessProviderTest.java @@ -12,7 +12,9 @@ public class KeychainAccessProviderTest { public void testLoadMacSystemKeychainAccess() { var provider = KeychainAccessProvider.get().findAny(); Assertions.assertTrue(provider.isPresent()); - Assertions.assertInstanceOf(TouchIdKeychainAccess.class, provider.get()); + Assertions.assertTrue( + provider.get() instanceof TouchIdKeychainAccess + || provider.get() instanceof MacSystemKeychainAccess); } }