Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ public void aggregate(final OffenceDecision offenceDecision,

setFinalOffence(decisionAggregate, offenceId, judicialResults);

// conviction information - a dismissal carries the FOUND_NOT_GUILTY verdict but has no
// conviction date or convicting court
// conviction information - a dismissal carries the FOUND_NOT_GUILTY verdict dated on the
// resulting date but has no convicting court
decisionAggregate.putConvictionInfo(offenceId,
new ConvictionInfo(offenceId,
dismissOffenceDecision.getOffenceDecisionInformation().getVerdict(),
dismissOffenceDecision.getConvictionDate(),
resultedOn.toLocalDate(),
null));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void shouldPopulateConvictionInfoWithFoundNotGuiltyVerdict() {
assertThat(convictionInfo, is(Matchers.notNullValue()));
assertThat(convictionInfo.getOffenceId(), Matchers.is(offence1Id));
assertThat(convictionInfo.getVerdictType(), Matchers.is(FOUND_NOT_GUILTY));
assertThat(convictionInfo.getConvictionDate(), is(nullValue()));
assertThat(convictionInfo.getConvictionDate(), is(resultedOn.toLocalDate()));
assertThat(convictionInfo.getConvictingCourt(), is(nullValue()));
}
}
Loading