Skip to content

Commit

Permalink
VKT(Backend): prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jrkkp committed Oct 23, 2024
1 parent fca1298 commit 3a10415
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ public record ClerkEnrollmentContactRequestDTO(
@NonNull @NotBlank String email,
@NonNull @NotBlank String firstName,
@NonNull @NotBlank String lastName
) {
}
) {}
Original file line number Diff line number Diff line change
Expand Up @@ -216,21 +216,22 @@ public void getAndSaveKoskiEducationDetailsForEnrollment(final long enrollmentId
}

public ClerkEnrollmentContactRequestDTO getEnrollmentContactRequest(final long enrollmentId) {
return ClerkEnrollmentContactRequestDTO.builder()
.id(enrollmentId)
.version(1)
.enrollmentTime(LocalDateTime.now())
.oralSkill(true)
.textualSkill(true)
.understandingSkill(true)
.speakingPartialExam(true)
.speechComprehensionPartialExam(true)
.writingPartialExam(true)
.readingComprehensionPartialExam(true)
.status(EnrollmentStatus.CANCELED)
.email("foo@bar")
.firstName("Testi")
.lastName("Tessilä")
.build();
return ClerkEnrollmentContactRequestDTO
.builder()
.id(enrollmentId)
.version(1)
.enrollmentTime(LocalDateTime.now())
.oralSkill(true)
.textualSkill(true)
.understandingSkill(true)
.speakingPartialExam(true)
.speechComprehensionPartialExam(true)
.writingPartialExam(true)
.readingComprehensionPartialExam(true)
.status(EnrollmentStatus.CANCELED)
.email("foo@bar")
.firstName("Testi")
.lastName("Tessilä")
.build();
}
}

0 comments on commit 3a10415

Please sign in to comment.