Skip to content

Commit

Permalink
IQSS#7906 remove integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed May 27, 2021
1 parent 9a6e5d9 commit f1e726e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/test/java/edu/harvard/iq/dataverse/api/AdminIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,10 @@ public void testListAuthenticatedUsers() throws Exception {

Response deleteNonSuperuser = UtilIT.deleteUser(nonSuperuserUsername);
assertEquals(200, deleteNonSuperuser.getStatusCode());
assertEquals(
"{\"status\":\"OK\",\"data\":{\"message\":\"AuthenticatedUser @" + nonSuperuserUsername + " deleted.\"}}",
deleteNonSuperuser.getBody().asString());

Response deleteSuperuser = UtilIT.deleteUser(superuserUsername);
assertEquals(200, deleteSuperuser.getStatusCode());
assertEquals(
"{\"status\":\"OK\",\"data\":{\"message\":\"AuthenticatedUser @" + superuserUsername + " deleted.\"}}",
deleteSuperuser.getBody().asString());
}


@Test
public void testFilterAuthenticatedUsersForbidden() throws Exception {
Expand Down

0 comments on commit f1e726e

Please sign in to comment.