Add cryptomator.integrationsWin.windowsHelloKeychainPaths to Environment

This commit is contained in:
Ralph Plawetzki
2024-11-30 14:39:56 +01:00
parent b3c56f3aab
commit f7e65f4eec
5 changed files with 16 additions and 3 deletions
@@ -121,6 +121,13 @@ public class EnvironmentTest {
env.getKeychainPath();
Mockito.verify(env).getPaths("cryptomator.integrationsWin.keychainPaths");
}
@Test
public void testWindowsHelloKeychainPath() {
Mockito.doReturn(Stream.of()).when(env).getPaths(Mockito.anyString());
env.getWindowsHelloKeychainPath();
Mockito.verify(env).getPaths("cryptomator.integrationsWin.windowsHelloKeychainPaths");
}
}
}