Revision 8776
Added by ben leinfelder almost 10 years ago
OrcidServiceTest.java | ||
---|---|---|
63 | 63 |
} |
64 | 64 |
|
65 | 65 |
public void testLookup() { |
66 |
String[] otherNames = new String[] {"Matthew Jones"}; |
|
66 |
String[] otherNames = new String[] {"Matthew Bentley Jones"};
|
|
67 | 67 |
String orcid = OrcidService.lookupOrcid(null, null, otherNames); |
68 |
assertEquals("http://sandbox-1.orcid.org/0000-0003-2141-4459", orcid);
|
|
68 |
assertEquals("http://orcid.org/0000-0003-0077-4738", orcid);
|
|
69 | 69 |
} |
70 | 70 |
|
71 | 71 |
public void findMatches() { |
Also available in: Unified diff
adjust tests for production service -- more "real" information shows additional return values from the query.