From 5b9d598f92dad62d9193525674ae117f499916a0 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Sun, 16 Jun 2019 11:54:51 +0200 Subject: [PATCH] mark one test as fetcher test, cause it depends on arxiv.org --- .../org/jabref/gui/fieldeditors/LinkedFileViewModelTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/jabref/gui/fieldeditors/LinkedFileViewModelTest.java b/src/test/java/org/jabref/gui/fieldeditors/LinkedFileViewModelTest.java index fab6942fc8b..e67ffd1bdb8 100644 --- a/src/test/java/org/jabref/gui/fieldeditors/LinkedFileViewModelTest.java +++ b/src/test/java/org/jabref/gui/fieldeditors/LinkedFileViewModelTest.java @@ -23,6 +23,7 @@ import org.jabref.model.entry.LinkedFile; import org.jabref.model.metadata.FilePreferences; import org.jabref.preferences.JabRefPreferences; +import org.jabref.testutils.category.FetcherTest; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; @@ -152,7 +153,7 @@ void deleteWhenDialogCancelledReturnsFalseAndDoesNotRemoveFile() { assertTrue(Files.exists(tempFile)); } - @Test + @FetcherTest void downloadDoesNotOverwriteFileTypeExtension() throws MalformedURLException { linkedFile = new LinkedFile(new URL("http://arxiv.org/pdf/1207.0408v1"), "");