Skip to content

Commit

Permalink
Changed a site url to be resolvable.
Browse files Browse the repository at this point in the history
  • Loading branch information
taojing2002 committed Jan 31, 2025
1 parent 805191b commit d47e070
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ public void testFullCycle() throws Exception {
//Mint the doi
String identifier = client.mintIdentifier(null);
assertTrue(identifier.startsWith("doi:10."));
System.out.println("the doi is " + identifier);
identifier = OSTIElinkService.removeDOI(identifier);
int index = 0;

Expand Down Expand Up @@ -233,7 +232,8 @@ public void testFullCycle() throws Exception {
assertEquals("R", status);

// Reset a new URL by the publish command
String newSiteUrl = "https://data.ess-dive.doe.gov/view/" + identifier;
String newSiteUrl =
"https://knb.ecoinformatics.org/view/urn%3Auuid%3A90dfc355-2f29-4eb5-be9a-b742df13b323";
publish = OSTIServiceV1Test.generatePublishIdentifierCommandWithSiteURL(newSiteUrl);
client.setMetadata(identifier, publish);
index = 0;
Expand Down

0 comments on commit d47e070

Please sign in to comment.