mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-21 20:21:27 +00:00
fixed test
This commit is contained in:
@@ -21,7 +21,7 @@ public class EnvironmentTest {
|
||||
|
||||
@BeforeEach
|
||||
public void init() {
|
||||
env = Mockito.spy(new Environment());
|
||||
env = Mockito.spy(Environment.getInstance());
|
||||
Mockito.when(env.getHomeDir()).thenReturn(Path.of("/home/testuser"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user