Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Sep 7, 2024
1 parent 66ddcf9 commit b97d490
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/test/java/org/jabref/logic/importer/WebFetchersTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
class WebFetchersTest {

private static final Logger LOGGER = LoggerFactory.getLogger(WebFetchersTest.class);
private static final Set<String> IGNORED_INACCESSIBLE_FETCHERS = Set.of("ArXivFetcher$ArXiv");

private static final Set<String> IGNORED_INACCESSIBLE_FETCHERS = Set.of(
"org.jabref.logic.importer.fetcher.ArXivFetcher$ArXiv",
"org.jabref.logic.importer.FulltextFetchersTest$FulltextFetcherWithTrustLevel");

private ImportFormatPreferences importFormatPreferences;
private ImporterPreferences importerPreferences;
Expand All @@ -49,7 +52,7 @@ void setUp() {

private Set<Class<?>> getIgnoredInaccessibleClasses() {
return IGNORED_INACCESSIBLE_FETCHERS.stream()
.map(className -> "org.jabref.logic.importer.fetcher." + className)
.map(className -> "" + className)
.map(classPath -> {
try {
return Class.forName(classPath);
Expand Down

0 comments on commit b97d490

Please sign in to comment.