diff --git a/oaipmh-core/src/main/java/info/textgrid/middleware/RecordListDelivererDC.java b/oaipmh-core/src/main/java/info/textgrid/middleware/RecordListDelivererDC.java index f94f242055f482a14dfaf5d3d57bdbbc5ecbe616..f0fec6b8b72a51e84057f9750e07b1889ef87d7b 100644 --- a/oaipmh-core/src/main/java/info/textgrid/middleware/RecordListDelivererDC.java +++ b/oaipmh-core/src/main/java/info/textgrid/middleware/RecordListDelivererDC.java @@ -424,8 +424,8 @@ public class RecordListDelivererDC extends RecordListDelivererAbstract { try { System.out.println(" ## getRecords() --> " + (query==null?query:"NULL") + - " " + (recordList!=null?recordList:"NULL") + " " + (resumptionToken!=null?resumptionToken:"NULL") - + " " + (set!=null?set:"NULL")); + " - " + (recordList!=null?recordList:"NULL") + " - " + (resumptionToken!=null?resumptionToken:"NULL") + + " - " + (set!=null?set:"NULL")); fetchFields(query, recordList, resumptionToken, set); } catch (UnsupportedEncodingException e) { diff --git a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhDariahdeOnlineTests.java b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhDariahdeOnlineTests.java index 83088d6bf9e3d33951d2209d81ac6fed07424748..c078263ab019a1954bd7eb9be3c6a8cc6b867ef6 100644 --- a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhDariahdeOnlineTests.java +++ b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhDariahdeOnlineTests.java @@ -25,8 +25,10 @@ import info.textgrid.utils.httpclient.TGHttpResponse; public class OaiPmhDariahdeOnlineTests { // The OAIPMH host to be tested. - private static String host = "http://trep.de.dariah.eu/1.0/oaipmh/"; - // private static String host = "https://repository.de.dariah.eu/1.0/oaipmh/"; + private static String host = "https://repository.de.dariah.eu/1.0/oaipmh/"; + // private static String host = "https://dhrepworkshop.de.dariah.eu/1.0/oaipmh/"; + // private static String host = "https://trep.de.dariah.eu/1.0/oaipmh/"; + // private static String host = "http://vm1.dariah.local/1.0/oaipmh/"; // Some output finals. private static final String ERROR = ">>> ERROR"; @@ -102,7 +104,7 @@ public class OaiPmhDariahdeOnlineTests { @Test public void testRootUrl() throws IOException { - String shouldContain = "repository.de.dariah.eu"; + String shouldContain = "DARIAH-DE Repository"; System.out.println(TESTING + "#ROOTURL"); @@ -128,7 +130,7 @@ public class OaiPmhDariahdeOnlineTests { public void testIdentify() throws IOException { String verb = "Identify"; - String shouldContain = "repository.de.dariah.eu"; + String shouldContain = "DARIAH-DE Repository"; System.out.println(TESTING + "#IDENTIFY");