Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Mar 4, 2024
1 parent 7fc147e commit 5d08d2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions server/src/test/java/access/api/InvitationControllerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ void newInvitation() throws Exception {
InvitationRequest invitationRequest = new InvitationRequest(
Authority.GUEST,
"Message",
Language.en,
true,
false,
false,
Expand Down Expand Up @@ -96,6 +97,7 @@ void newInvitationEmptyRoles() throws Exception {
InvitationRequest invitationRequest = new InvitationRequest(
Authority.INVITER,
"Message",
Language.en,
true,
false,
false,
Expand Down
2 changes: 1 addition & 1 deletion server/src/test/java/access/mail/MailBoxTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private String doSendInviteMail(boolean eduIDOnly, Authority intendedAuthority)
localManage.providerById(EntityType.SAML20_SP, "2"),
invitation.getRoles().stream().map(InvitationRole::getRole).toList(),
UUID.randomUUID().toString())
), invitationRequest.getLanguage());
), Language.en);
MimeMessageParser mimeMessageParser = super.mailMessage();
return mimeMessageParser.getHtmlContent();
}
Expand Down

0 comments on commit 5d08d2c

Please sign in to comment.