Skip to content

Commit

Permalink
Both KeychainAccessProviders need to be possible
Browse files Browse the repository at this point in the history
  • Loading branch information
purejava committed Dec 12, 2024
1 parent b1cdd16 commit f88d9d5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

}

0 comments on commit f88d9d5

Please sign in to comment.