merge master
This commit is contained in:
parent
d7bdd2e30c
commit
c7c2de7a16
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>eu.dnetlib.dhp</groupId>
|
||||
<artifactId>apps</artifactId>
|
||||
<version>3.1.9-SNAPSHOT</version>
|
||||
<version>3.2.1-SNAPSHOT</version>
|
||||
<relativePath>../</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
package eu.dnetlib.openaire.directindex;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import eu.dnetlib.openaire.directindex.mapping.OpenAIRESubmitterUtils;
|
||||
|
||||
|
@ -77,9 +79,9 @@ public class OpenAIRESubmitterUtilsTest {
|
|||
contexts.add("https://zenodo.org/communities/aoo_beopen");
|
||||
final List<OpenAIRESubmitterUtils.ContextInfo> tmp = utils.processContexts(contexts);
|
||||
|
||||
Assert.assertEquals(2, tmp.size());
|
||||
assertEquals(2, tmp.size());
|
||||
|
||||
Assert.assertTrue(tmp.get(0).getId().equals("dh-ch") || tmp.get(1).getId().equalsIgnoreCase("dh-ch"));
|
||||
Assert.assertTrue(tmp.get(0).getId().equals("dariah") || tmp.get(1).getId().equalsIgnoreCase("dariah"));
|
||||
assertTrue(tmp.get(0).getId().equals("dh-ch") || tmp.get(1).getId().equalsIgnoreCase("dh-ch"));
|
||||
assertTrue(tmp.get(0).getId().equals("dariah") || tmp.get(1).getId().equalsIgnoreCase("dariah"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue