@@ -29,42 +29,44 @@ class SentencesSmokeTest : DescribeSpec(
29
29
"""
30
30
{
31
31
"data": [
32
- {
33
- "dataSource": "NOMIS ",
34
- "dateOfSentencing": "2019-08-24",
35
- "description": "string",
36
- "fineAmount": $fineAmountMinNumberValue,
37
- "isActive": null,
38
- "isCustodial": true,
39
- "length": {
40
- "duration": null,
41
- "units": null,
42
- "terms": [
43
- {
44
- "years": 1,
45
- "months": 2,
46
- "weeks": 3,
47
- "days": 4,
48
- "hours": null,
49
- "prisonTermCode": "string"
50
- }
51
- ]
32
+ {
33
+ "serviceSource": "NOMIS ",
34
+ "systemSource": "PRISON_SYSTEMS ",
35
+ "dateOfSentencing": "2019-08-24",
36
+ "description": "string",
37
+ "isActive": null,
38
+ "isCustodial": true,
39
+ "fineAmount": -1.7976931348623157E308,
40
+ "length": {
41
+ "duration": null,
42
+ "units": null,
43
+ "terms": [
44
+ {
45
+ "years": 1,
46
+ "months": 2,
47
+ "weeks": 3,
48
+ "days": 4,
49
+ "hours": null,
50
+ "prisonTermCode": "string"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "serviceSource": "NDELIUS ",
57
+ "systemSource": "PROBATION_SYSTEMS ",
58
+ "dateOfSentencing": "2019-08-24",
59
+ "description": "string",
60
+ "isActive": true,
61
+ "isCustodial": false,
62
+ "fineAmount": null,
63
+ "length": {
64
+ "duration": -2147483648,
65
+ "units": "Hours ",
66
+ "terms": []
67
+ }
52
68
}
53
- },
54
- {
55
- "dataSource": "NDELIUS ",
56
- "dateOfSentencing": "2019-08-24",
57
- "description": "string",
58
- "fineAmount": null,
59
- "isActive": true,
60
- "isCustodial": false,
61
- "length": {
62
- "duration": $hourMinIntValue,
63
- "units": "Hours ",
64
- "terms": []
65
- }
66
- }
67
- ],
69
+ ],
68
70
"pagination": {
69
71
"isLastPage": true,
70
72
"count": 2,
0 commit comments