Skip to content

Commit

Permalink
Merge pull request IQSS#10841 from QualitativeDataRepository/datasetT…
Browse files Browse the repository at this point in the history
…ypeTestFix

IQSS/10840 - DatasetTypesIT test fix
  • Loading branch information
pdurbin authored Sep 12, 2024
2 parents ba660c3 + aee157d commit fbb215a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ public void testAddAndDeleteDatasetType() {
numbersOnly.prettyPrint();
numbersOnly.then().assertThat().statusCode(BAD_REQUEST.getStatusCode());

String randomName = UUID.randomUUID().toString().substring(0, 8);
//Avoid all-numeric names (which are not allowed)
String randomName = "A" + UUID.randomUUID().toString().substring(0, 8);
String jsonIn = Json.createObjectBuilder().add("name", randomName).build().toString();

System.out.println("adding type with name " + randomName);
Expand Down

0 comments on commit fbb215a

Please sign in to comment.