Skip to content

Commit

Permalink
PI-1939 - fix failing test after merge from main
Browse files Browse the repository at this point in the history
  • Loading branch information
achimber-moj committed Mar 25, 2024
1 parent 1946040 commit 38393d0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import uk.gov.justice.digital.hmpps.integrations.delius.overview.entity.PersonRe
import uk.gov.justice.digital.hmpps.integrations.delius.sentence.entity.AdditionalSentenceRepository
import uk.gov.justice.digital.hmpps.integrations.delius.sentence.entity.CourtAppearanceRepository
import uk.gov.justice.digital.hmpps.integrations.delius.sentence.entity.EventSentenceRepository
import uk.gov.justice.digital.hmpps.utils.Summary
import java.time.LocalDate

@ExtendWith(MockitoExtension::class)
Expand All @@ -38,11 +39,11 @@ class SentenceServiceTest {
@InjectMocks
lateinit var service: SentenceService

private lateinit var personSummary: PersonalDetailsServiceTest.Summary
private lateinit var personSummary: Summary

@BeforeEach
fun setup() {
personSummary = PersonalDetailsServiceTest.Summary(
personSummary = Summary (
id = 1,
forename = "TestName",
surname = "TestSurname", crn = "CRN", pnc = "PNC", dateOfBirth = LocalDate.now().minusYears(50)
Expand Down

0 comments on commit 38393d0

Please sign in to comment.