Skip to content

Commit

Permalink
Fixed checkstyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmajchrak committed Nov 4, 2024
1 parent e280948 commit ea95f6e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import static org.hamcrest.Matchers.not;
import static org.hamcrest.Matchers.notNullValue;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

Expand Down Expand Up @@ -99,7 +98,7 @@ public void generateShareTokenAndSetOwnerTest() throws Exception {
assertThat(updatedWsi.getSubmitter().getEmail(), is(SUBMITTER_EMAIL));
assertThat(updatedWsi.getSubmitter().getEmail(), not(currentUser.getEmail()));

EPerson adminUser = ePersonService.findByEmail(context, admin.getEmail());
EPerson adminUser = ePersonService.findByEmail(context, admin.getEmail());
context.setCurrentUser(adminUser);
// Set workspace item owner to the current user
getClient(adminToken).perform(get("/api/submission/setOwner")
Expand Down

0 comments on commit ea95f6e

Please sign in to comment.