Skip to content

Commit

Permalink
dv alias can't be just a number #211 #2290
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jan 26, 2017
1 parent 2e83e29 commit 461e0e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/edu/harvard/iq/dataverse/api/UtilIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ static Response createDataverse(JsonObject dvData, String apiToken) {
}

static Response createRandomDataverse(String apiToken) {
String alias = getRandomIdentifier();
// Add any string (i.e. "dv") to avoid possibility of "Alias should not be a number" https://github.com/IQSS/dataverse/issues/211
String alias = "dv" + getRandomIdentifier();
String category = null;
return createDataverse(alias, category, apiToken);
}
Expand Down

0 comments on commit 461e0e1

Please sign in to comment.