diff --git a/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java b/briar-tests/src/org/briarproject/plugins/file/UnixRemovableDriveMonitorTest.java index 427afe364..26116ef0b 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() }; }