Skip to content

Commit

Permalink
PI-1939 - update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
achimber-moj committed Mar 26, 2024
1 parent 827fd58 commit 7c7f7c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ object PersonGenerator {
)

val DEFAULT_DISPOSAL_TYPE = generateDisposalType("DFS", "Default Sentence Type", "NP", 0)
val ACTIVE_ORDER = generateDisposal(EVENT_1)
val ACTIVE_ORDER = generateDisposal(EVENT_1, length = 12)

val INACTIVE_ORDER_1 = generateDisposal(INACTIVE_EVENT_1)
val INACTIVE_ORDER_2 = generateDisposal(INACTIVE_EVENT_2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class SentenceIntegrationTest {
LocalDate.now(),
listOf(AdditionalSentence(3, null, null, "Disqualified from Driving"))
),
Order("Default Sentence Type", null, null, LocalDate.now().minusDays(14))
Order("Default Sentence Type", 12, null, LocalDate.now().minusDays(14))
),
Sentence(
OffenceDetails(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class SentenceServiceTest {
AdditionalSentence(null, 500, "fine notes", "Fine")
)
),
Order("Default Sentence Type", null, null, LocalDate.now().minusDays(14))
Order("Default Sentence Type", 12, null, LocalDate.now().minusDays(14))
)
)
)
Expand Down

0 comments on commit 7c7f7c5

Please sign in to comment.