Skip to content

Commit

Permalink
switch BagIT to new "make superuser" API IQSS#9887
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Apr 12, 2024
1 parent 95ce8e0 commit 074498f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/edu/harvard/iq/dataverse/api/BagIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public void testBagItExport() throws IOException {
createUser.then().assertThat().statusCode(OK.getStatusCode());
String username = UtilIT.getUsernameFromResponse(createUser);
String apiToken = UtilIT.getApiTokenFromResponse(createUser);
Response toggleSuperuser = UtilIT.makeSuperUser(username);
toggleSuperuser.then().assertThat()
Response makeSuperuser = UtilIT.setSuperuserStatus(username, true);
makeSuperuser.then().assertThat()
.statusCode(OK.getStatusCode());

Response createDataverse = UtilIT.createRandomDataverse(apiToken);
Expand Down

0 comments on commit 074498f

Please sign in to comment.