Skip to content

Commit

Permalink
Formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
probation-integration-bot[bot] authored Jan 9, 2025
1 parent 29c9d9f commit 15a1250
Showing 1 changed file with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@ internal class IntegrationTest {

val contact = verifyContactCreated()
assertThat(contact.type.code, equalTo(EMAIL.code))
assertThat(contact.notes, equalTo("""
assertThat(
contact.notes, equalTo(
"""
|This contact was created automatically from a forwarded email sent by [email protected] at 12:34 on 01/01/2020.
|Subject: A000001 was involved in an incident
|
|Example message
|""".trimMargin()))
|""".trimMargin()
)
)
assertThat(
contact.externalReference,
equalTo("urn:uk:gov:hmpps:justice-email:00000000-0000-0000-0000-000000000000")
Expand All @@ -65,13 +69,20 @@ internal class IntegrationTest {

val contact = verifyContactCreated()
assertThat(contact.type.code, equalTo(EMAIL.code))
assertThat(contact.description, equalTo("Email - was involved in an incident that has a very, very long subject that surpassed the 200 character limit and therefore has been truncated to meet the character limitations for the description in ~"))
assertThat(contact.notes, equalTo("""
assertThat(
contact.description,
equalTo("Email - was involved in an incident that has a very, very long subject that surpassed the 200 character limit and therefore has been truncated to meet the character limitations for the description in ~")
)
assertThat(
contact.notes, equalTo(
"""
|This contact was created automatically from a forwarded email sent by [email protected] at 12:34 on 01/01/2020.
|Subject: A000001 was involved in an incident that has a very, very long subject that surpassed the 200 character limit and therefore has been truncated to meet the character limitations for the description in Delius.
|
|Example message
|""".trimMargin()))
|""".trimMargin()
)
)
assertThat(
contact.externalReference,
equalTo("urn:uk:gov:hmpps:justice-email:00000000-0000-0000-0000-000000000000")
Expand Down

0 comments on commit 15a1250

Please sign in to comment.