diff --git a/src/test/java/net/sf/jabref/logic/util/io/UtilFindFileTest.java b/src/test/java/net/sf/jabref/logic/util/io/UtilFindFileTest.java index 8f41a508b1a9..1bc4261f46b4 100644 --- a/src/test/java/net/sf/jabref/logic/util/io/UtilFindFileTest.java +++ b/src/test/java/net/sf/jabref/logic/util/io/UtilFindFileTest.java @@ -10,7 +10,6 @@ import java.util.Set; import net.sf.jabref.FileBasedTestCase; -import net.sf.jabref.Globals; import net.sf.jabref.model.entry.BibEntry; import net.sf.jabref.support.DevEnvironment; @@ -35,7 +34,7 @@ public void testFindAssociatedFiles() { Collection dirs = Arrays.asList(rootDir.resolve("graphicsDir").toFile(), rootDir.resolve("pdfs").toFile()); - Map> results = FileUtil.findAssociatedFiles(entries, extensions, dirs, Globals.prefs); + Map> results = FileUtil.findAssociatedFiles(entries, extensions, dirs); assertEquals(2, results.get(entry).size()); assertTrue(results.get(entry)