1
0
Fork 0

[master] refactoring

This commit is contained in:
Miriam Baglioni 2023-06-21 11:15:53 +02:00
parent d9506035e4
commit e4b27182d0
4 changed files with 16 additions and 15 deletions

View File

@ -122,7 +122,7 @@ class ZenodoAPIClientTest {
Assertions.assertEquals(200, client.uploadIS(is, "newVersion_deposition", file.length())); Assertions.assertEquals(200, client.uploadIS(is, "newVersion_deposition", file.length()));
//Assertions.assertEquals(202, client.publish()); // Assertions.assertEquals(202, client.publish());
} }
} }

View File

@ -1023,7 +1023,6 @@ class MappersTest {
} }
private void assertValidId(final String id) { private void assertValidId(final String id) {
// System.out.println(id); // System.out.println(id);

View File

@ -136,9 +136,11 @@ public class IndexRecordTransformerTest {
@Test @Test
public void testForEdithDemoCovid() throws IOException, TransformerException { public void testForEdithDemoCovid() throws IOException, TransformerException {
final String record = IOUtils.toString(getClass().getResourceAsStream("edith-demo/10.3390-pr9111967-covid.xml")); final String record = IOUtils
.toString(getClass().getResourceAsStream("edith-demo/10.3390-pr9111967-covid.xml"));
testRecordTransformation(record); testRecordTransformation(record);
} }
@Test @Test
public void testForEdithDemoEthics() throws IOException, TransformerException { public void testForEdithDemoEthics() throws IOException, TransformerException {
final String record = IOUtils.toString(getClass().getResourceAsStream("edith-demo/10.2196-33081-ethics.xml")); final String record = IOUtils.toString(getClass().getResourceAsStream("edith-demo/10.2196-33081-ethics.xml"));