Skip to content

Commit

Permalink
Formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Dec 5, 2024
1 parent 4d6a07e commit b5b1908
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion server/src/main/java/access/api/EnvironmentController.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
@RestController
public class EnvironmentController {


private final String disclaimerBackgroundColor;
private final String disclaimerContent;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void migrate(Context context) {
Set<Application> applications = Set.of(new Application(manageId, EntityType.valueOf(manageType)));
String jsonNode;
try {
jsonNode = ObjectMapperHolder.objectMapper.writeValueAsString(applications);
jsonNode = ObjectMapperHolder.objectMapper.writeValueAsString(applications);
} catch (JsonProcessingException e) {
throw new RuntimeException(e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ void acceptInvitationUserTimeOut() throws Exception {
super.stubForManageProvisioning(List.of("5"));

AcceptInvitation acceptInvitation = new AcceptInvitation(hash, invitation.getId());
Map<String, Object > results = given()
Map<String, Object> results = given()
.when()
.filter(accessCookieFilter.cookieFilter())
.accept(ContentType.JSON)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void sweep() {
String htmlContent = messageParser.getHtmlContent();
//Due to html formatting we can't be sure of the line breaks
Stream.of("Your Inviter role Mail at the application Calendar EN will expire in 5 days".split(" "))
.forEach(s -> assertTrue(htmlContent.contains(s)));
.forEach(s -> assertTrue(htmlContent.contains(s)));

userRole = userRoleRepository.findByRoleName("Mail").get(0);
assertEquals(1, userRole.getExpiryNotifications());
Expand Down

0 comments on commit b5b1908

Please sign in to comment.