diff --git a/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java b/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java index 427afe364ce6b04394c247d89921ad8244ef848b..26116ef0bcc5b852fcb208af9bf09a926b3ee35f 100644 --- a/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java +++ b/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java @@ -82,10 +82,8 @@ public class UnixRemovableDriveMonitorTest extends BriarTestCase { TestUtils.deleteTestDirectory(testDir); } - private RemovableDriveMonitor createMonitor(final File dir) throws IOException { - UnixRemovableDriveMonitor.checkEnabled(); + private RemovableDriveMonitor createMonitor(final File dir) { return new UnixRemovableDriveMonitor() { - @Override protected String[] getPathsToWatch() { return new String[] { dir.getPath() }; }