@@ -37,24 +37,32 @@ class SupervisionsTest : DescribeSpec(
37
37
integrationApiOffences.shouldBe(
38
38
listOf(
39
39
Offence (
40
+ serviceSource = UpstreamApi .NDELIUS ,
41
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
40
42
description = "foobar",
41
43
hoCode = "05800",
42
44
courtDates = listOf(LocalDate .parse("2009-07-07")),
43
45
startDate = LocalDate .parse("2000-01-02"),
44
46
),
45
47
Offence (
48
+ serviceSource = UpstreamApi .NDELIUS ,
49
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
46
50
description = "additionalFoo",
47
51
hoCode = "12345",
48
52
courtDates = listOf(LocalDate .parse("2009-07-07")),
49
53
startDate = LocalDate .parse("2001-01-01"),
50
54
),
51
55
Offence (
56
+ serviceSource = UpstreamApi .NDELIUS ,
57
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
52
58
description = "barbaz",
53
59
hoCode = "05800",
54
60
courtDates = listOf(LocalDate .parse("2010-07-07")),
55
61
startDate = LocalDate .parse("2003-03-03"),
56
62
),
57
63
Offence (
64
+ serviceSource = UpstreamApi .NDELIUS ,
65
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
58
66
description = "additionalFoo2",
59
67
hoCode = "98765",
60
68
courtDates = listOf(LocalDate .parse("2010-07-07")),
@@ -80,12 +88,16 @@ class SupervisionsTest : DescribeSpec(
80
88
integrationApiOffences.shouldBe(
81
89
listOf(
82
90
Offence (
91
+ serviceSource = UpstreamApi .NDELIUS ,
92
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
83
93
description = "foobar",
84
94
hoCode = "05800",
85
95
courtDates = listOf(LocalDate .parse("2009-07-07")),
86
96
startDate = LocalDate .parse("2000-01-02"),
87
97
),
88
98
Offence (
99
+ serviceSource = UpstreamApi .NDELIUS ,
100
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
89
101
description = "additionalFoo",
90
102
hoCode = "12345",
91
103
courtDates = listOf(LocalDate .parse("2009-07-07")),
@@ -112,12 +124,16 @@ class SupervisionsTest : DescribeSpec(
112
124
integrationApiOffences.shouldBe(
113
125
listOf(
114
126
Offence (
127
+ serviceSource = UpstreamApi .NDELIUS ,
128
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
115
129
description = "foobar",
116
130
hoCode = "05800",
117
131
courtDates = listOf(LocalDate .parse("2009-07-07")),
118
132
startDate = LocalDate .parse("2000-01-02"),
119
133
),
120
134
Offence (
135
+ serviceSource = UpstreamApi .NDELIUS ,
136
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
121
137
description = "additionalFoo",
122
138
hoCode = "12345",
123
139
courtDates = listOf(LocalDate .parse("2009-07-07")),
@@ -152,12 +168,16 @@ class SupervisionsTest : DescribeSpec(
152
168
integrationApiOffences.shouldBe(
153
169
listOf(
154
170
Offence (
171
+ serviceSource = UpstreamApi .NDELIUS ,
172
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
155
173
description = "foobar",
156
174
hoCode = "05800",
157
175
courtDates = listOf(LocalDate .parse("2009-07-07")),
158
176
startDate = LocalDate .parse("2019-09-09"),
159
177
),
160
178
Offence (
179
+ serviceSource = UpstreamApi .NDELIUS ,
180
+ systemSource = SystemSource .PROBATION_SYSTEMS ,
161
181
description = "barbaz",
162
182
hoCode = "05800",
163
183
courtDates = listOf(LocalDate .parse("2010-07-07")),
0 commit comments