77import org .jabref .model .entry .BibEntry ;
88import org .jabref .model .entry .field .StandardField ;
99import org .jabref .model .entry .types .StandardEntryType ;
10+ import org .jabref .support .DisabledOnCIServer ;
1011import org .jabref .testutils .category .FetcherTest ;
1112
1213import kong .unirest .json .JSONObject ;
@@ -25,6 +26,7 @@ void setUp() {
2526 fetcher = new SpringerFetcher ();
2627 }
2728
29+ @ DisabledOnCIServer ("Disable on CI Server to not hit the API call limit" )
2830 @ Test
2931 void searchByQueryFindsEntry () throws Exception {
3032 BibEntry expected = new BibEntry (StandardEntryType .Article );
@@ -47,6 +49,7 @@ void searchByQueryFindsEntry() throws Exception {
4749 assertEquals (Collections .singletonList (expected ), fetchedEntries );
4850 }
4951
52+ @ DisabledOnCIServer ("Disable on CI Server to not hit the API call limit" )
5053 @ Test
5154 void testSpringerJSONToBibtex () {
5255 String jsonString = "{\r \n " + " \" identifier\" :\" doi:10.1007/BF01201962\" ,\r \n "
@@ -70,6 +73,7 @@ void testSpringerJSONToBibtex() {
7073 assertEquals (Optional .of ("1992-09-01" ), bibEntry .getField (StandardField .DATE ));
7174 }
7275
76+ @ DisabledOnCIServer ("Disable on CI Server to not hit the API call limit" )
7377 @ Test
7478 void searchByEmptyQueryFindsNothing () throws Exception {
7579 assertEquals (Collections .emptyList (), fetcher .performSearch ("" ));
0 commit comments