diff --git a/src/test/java/org/jabref/logic/importer/WebFetchersTest.java b/src/test/java/org/jabref/logic/importer/WebFetchersTest.java index b8abaf86b45..ba033cb070e 100644 --- a/src/test/java/org/jabref/logic/importer/WebFetchersTest.java +++ b/src/test/java/org/jabref/logic/importer/WebFetchersTest.java @@ -35,7 +35,10 @@ class WebFetchersTest { private static final Logger LOGGER = LoggerFactory.getLogger(WebFetchersTest.class); - private static final Set IGNORED_INACCESSIBLE_FETCHERS = Set.of("ArXivFetcher$ArXiv"); + + private static final Set IGNORED_INACCESSIBLE_FETCHERS = Set.of( + "org.jabref.logic.importer.fetcher.ArXivFetcher$ArXiv", + "org.jabref.logic.importer.FulltextFetchersTest$FulltextFetcherWithTrustLevel"); private ImportFormatPreferences importFormatPreferences; private ImporterPreferences importerPreferences; @@ -49,7 +52,7 @@ void setUp() { private Set> getIgnoredInaccessibleClasses() { return IGNORED_INACCESSIBLE_FETCHERS.stream() - .map(className -> "org.jabref.logic.importer.fetcher." + className) + .map(className -> "" + className) .map(classPath -> { try { return Class.forName(classPath);