ffc-pay-schemes 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/app/get-scheme-id-from-source-system.js +10 -0
- package/app/{get-scheme-name.js → get-scheme-name-from-scheme-id.js} +2 -2
- package/app/{get-source-system.js → get-source-system-from-scheme-id.js} +2 -2
- package/index.js +6 -4
- package/package.json +1 -1
- package/test/unit/get-scheme-id-from-source-system.test.js +50 -0
- package/test/unit/{get-scheme-name.test.js → get-scheme-name-from-scheme-id.test.js} +6 -6
- package/test/unit/{get-source-system.test.js → get-source-system-from-scheme-id.test.js} +6 -6
- package/test-output/cobertura-coverage.xml +73 -8
- package/test-output/junit.xml +282 -252
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ap.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-admin.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-irregular.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/delivery-bodies.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/description-codes.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/fund-codes.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/pillars.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-batch-properties.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-ids.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-names.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-not-requiring-ppas.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-providing-account-values.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/source-systems.js.html +2 -2
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-default-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-es-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-imps-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-standard-scheme-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/use-invoice-number-as-is.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-default-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/bps-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cohtc-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cs-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/default-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/delinked-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/lump-sums-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/sfi-frps-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/vet-visits-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-batch-properties.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-id-from-source-system.js.html +115 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-name-from-scheme-id.js.html +115 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-name.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-properties.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-schemes.js.html +5 -5
- package/test-output/lcov-report/ffc-pay-schemes/app/get-source-system-from-scheme-id.js.html +115 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/index.html +49 -4
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-does-not-require-ppas.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-provides-accounting-values.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/index.html +5 -5
- package/test-output/lcov-report/ffc-pay-schemes/index.js.html +14 -8
- package/test-output/lcov-report/index.html +11 -11
- package/test-output/lcov.info +64 -8
package/test-output/junit.xml
CHANGED
|
@@ -1,55 +1,15 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuites name="jest tests" tests="
|
|
3
|
-
<testsuite name="
|
|
4
|
-
<testcase classname="
|
|
2
|
+
<testsuites name="jest tests" tests="281" failures="0" errors="0" time="0.82">
|
|
3
|
+
<testsuite name="getSchemeProperties" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:38" time="0.125" tests="54">
|
|
4
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 1" name="getSchemeProperties returns the properties for schemeId 1" time="0.002">
|
|
5
5
|
</testcase>
|
|
6
|
-
<testcase classname="
|
|
6
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 2" name="getSchemeProperties returns the properties for schemeId 2" time="0">
|
|
7
7
|
</testcase>
|
|
8
|
-
<testcase classname="
|
|
9
|
-
</testcase>
|
|
10
|
-
<testcase classname="getAccountCodeMap returns the correct map for VET_VISITS" name="getAccountCodeMap returns the correct map for VET_VISITS" time="0">
|
|
11
|
-
</testcase>
|
|
12
|
-
<testcase classname="getAccountCodeMap returns the correct map for CS" name="getAccountCodeMap returns the correct map for CS" time="0">
|
|
13
|
-
</testcase>
|
|
14
|
-
<testcase classname="getAccountCodeMap returns the correct map for BPS" name="getAccountCodeMap returns the correct map for BPS" time="0">
|
|
15
|
-
</testcase>
|
|
16
|
-
<testcase classname="getAccountCodeMap returns the correct map for SFI23" name="getAccountCodeMap returns the correct map for SFI23" time="0">
|
|
17
|
-
</testcase>
|
|
18
|
-
<testcase classname="getAccountCodeMap returns the correct map for DELINKED" name="getAccountCodeMap returns the correct map for DELINKED" time="0">
|
|
8
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 3" name="getSchemeProperties returns the properties for schemeId 3" time="0.001">
|
|
19
9
|
</testcase>
|
|
20
|
-
<testcase classname="
|
|
10
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 4" name="getSchemeProperties returns the properties for schemeId 4" time="0">
|
|
21
11
|
</testcase>
|
|
22
|
-
<testcase classname="
|
|
23
|
-
</testcase>
|
|
24
|
-
<testcase classname="getAccountCodeMap returns the correct map for COHT_CAPITAL" name="getAccountCodeMap returns the correct map for COHT_CAPITAL" time="0">
|
|
25
|
-
</testcase>
|
|
26
|
-
<testcase classname="getAccountCodeMap returns the correct map for FPTT" name="getAccountCodeMap returns the correct map for FPTT" time="0.001">
|
|
27
|
-
</testcase>
|
|
28
|
-
<testcase classname="getAccountCodeMap returns the correct map for WMP" name="getAccountCodeMap returns the correct map for WMP" time="0">
|
|
29
|
-
</testcase>
|
|
30
|
-
<testcase classname="getAccountCodeMap throws an error for the unmapped MANUAL scheme" name="getAccountCodeMap throws an error for the unmapped MANUAL scheme" time="0.008">
|
|
31
|
-
</testcase>
|
|
32
|
-
<testcase classname="getAccountCodeMap throws an error for the unmapped ES scheme" name="getAccountCodeMap throws an error for the unmapped ES scheme" time="0.001">
|
|
33
|
-
</testcase>
|
|
34
|
-
<testcase classname="getAccountCodeMap throws an error for the unmapped FC scheme" name="getAccountCodeMap throws an error for the unmapped FC scheme" time="0.001">
|
|
35
|
-
</testcase>
|
|
36
|
-
<testcase classname="getAccountCodeMap throws an error for the unmapped IMPS scheme" name="getAccountCodeMap throws an error for the unmapped IMPS scheme" time="0">
|
|
37
|
-
</testcase>
|
|
38
|
-
<testcase classname="getAccountCodeMap throws an error when schemeId is not provided" name="getAccountCodeMap throws an error when schemeId is not provided" time="0.001">
|
|
39
|
-
</testcase>
|
|
40
|
-
<testcase classname="getAccountCodeMap throws an error for an unknown schemeId" name="getAccountCodeMap throws an error for an unknown schemeId" time="0.001">
|
|
41
|
-
</testcase>
|
|
42
|
-
</testsuite>
|
|
43
|
-
<testsuite name="getSchemeProperties" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:18" time="0.052" tests="54">
|
|
44
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 1" name="getSchemeProperties returns the properties for schemeId 1" time="0.001">
|
|
45
|
-
</testcase>
|
|
46
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 2" name="getSchemeProperties returns the properties for schemeId 2" time="0.001">
|
|
47
|
-
</testcase>
|
|
48
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 3" name="getSchemeProperties returns the properties for schemeId 3" time="0">
|
|
49
|
-
</testcase>
|
|
50
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 4" name="getSchemeProperties returns the properties for schemeId 4" time="0.001">
|
|
51
|
-
</testcase>
|
|
52
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 5" name="getSchemeProperties returns the properties for schemeId 5" time="0">
|
|
12
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 5" name="getSchemeProperties returns the properties for schemeId 5" time="0.001">
|
|
53
13
|
</testcase>
|
|
54
14
|
<testcase classname="getSchemeProperties returns the properties for schemeId 6" name="getSchemeProperties returns the properties for schemeId 6" time="0">
|
|
55
15
|
</testcase>
|
|
@@ -65,11 +25,11 @@
|
|
|
65
25
|
</testcase>
|
|
66
26
|
<testcase classname="getSchemeProperties returns the properties for schemeId 13" name="getSchemeProperties returns the properties for schemeId 13" time="0">
|
|
67
27
|
</testcase>
|
|
68
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 14" name="getSchemeProperties returns the properties for schemeId 14" time="0
|
|
28
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 14" name="getSchemeProperties returns the properties for schemeId 14" time="0">
|
|
69
29
|
</testcase>
|
|
70
30
|
<testcase classname="getSchemeProperties returns the properties for schemeId 15" name="getSchemeProperties returns the properties for schemeId 15" time="0">
|
|
71
31
|
</testcase>
|
|
72
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 16" name="getSchemeProperties returns the properties for schemeId 16" time="0">
|
|
32
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 16" name="getSchemeProperties returns the properties for schemeId 16" time="0.003">
|
|
73
33
|
</testcase>
|
|
74
34
|
<testcase classname="getSchemeProperties returns the properties for schemeId 17" name="getSchemeProperties returns the properties for schemeId 17" time="0.001">
|
|
75
35
|
</testcase>
|
|
@@ -91,15 +51,15 @@
|
|
|
91
51
|
</testcase>
|
|
92
52
|
<testcase classname="getSchemeProperties returns the properties for schemeId 9, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 9, even if sourceSystem does not match" time="0">
|
|
93
53
|
</testcase>
|
|
94
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 10, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 10, even if sourceSystem does not match" time="0
|
|
54
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 10, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 10, even if sourceSystem does not match" time="0">
|
|
95
55
|
</testcase>
|
|
96
56
|
<testcase classname="getSchemeProperties returns the properties for schemeId 11, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 11, even if sourceSystem does not match" time="0">
|
|
97
57
|
</testcase>
|
|
98
58
|
<testcase classname="getSchemeProperties returns the properties for schemeId 12, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 12, even if sourceSystem does not match" time="0">
|
|
99
59
|
</testcase>
|
|
100
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 13, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 13, even if sourceSystem does not match" time="0
|
|
60
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 13, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 13, even if sourceSystem does not match" time="0">
|
|
101
61
|
</testcase>
|
|
102
|
-
<testcase classname="getSchemeProperties returns the properties for schemeId 14, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 14, even if sourceSystem does not match" time="0">
|
|
62
|
+
<testcase classname="getSchemeProperties returns the properties for schemeId 14, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 14, even if sourceSystem does not match" time="0.001">
|
|
103
63
|
</testcase>
|
|
104
64
|
<testcase classname="getSchemeProperties returns the properties for schemeId 15, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 15, even if sourceSystem does not match" time="0">
|
|
105
65
|
</testcase>
|
|
@@ -111,13 +71,13 @@
|
|
|
111
71
|
</testcase>
|
|
112
72
|
<testcase classname="getSchemeProperties returns the properties for sourceSystem SFI when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFI when schemeId is not present" time="0">
|
|
113
73
|
</testcase>
|
|
114
|
-
<testcase classname="getSchemeProperties returns the properties for sourceSystem SFIP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFIP when schemeId is not present" time="0
|
|
74
|
+
<testcase classname="getSchemeProperties returns the properties for sourceSystem SFIP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFIP when schemeId is not present" time="0">
|
|
115
75
|
</testcase>
|
|
116
76
|
<testcase classname="getSchemeProperties returns the properties for sourceSystem LSES when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem LSES when schemeId is not present" time="0">
|
|
117
77
|
</testcase>
|
|
118
78
|
<testcase classname="getSchemeProperties returns the properties for sourceSystem AHWR when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem AHWR when schemeId is not present" time="0">
|
|
119
79
|
</testcase>
|
|
120
|
-
<testcase classname="getSchemeProperties returns the properties for sourceSystem SITI AGRI CS SYS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SITI AGRI CS SYS when schemeId is not present" time="0
|
|
80
|
+
<testcase classname="getSchemeProperties returns the properties for sourceSystem SITI AGRI CS SYS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SITI AGRI CS SYS when schemeId is not present" time="0">
|
|
121
81
|
</testcase>
|
|
122
82
|
<testcase classname="getSchemeProperties returns the properties for sourceSystem SITI AGRI SYS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SITI AGRI SYS when schemeId is not present" time="0">
|
|
123
83
|
</testcase>
|
|
@@ -131,15 +91,15 @@
|
|
|
131
91
|
</testcase>
|
|
132
92
|
<testcase classname="getSchemeProperties returns the properties for sourceSystem SFIA when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFIA when schemeId is not present" time="0">
|
|
133
93
|
</testcase>
|
|
134
|
-
<testcase classname="getSchemeProperties returns the properties for sourceSystem DP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem DP when schemeId is not present" time="0
|
|
94
|
+
<testcase classname="getSchemeProperties returns the properties for sourceSystem DP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem DP when schemeId is not present" time="0">
|
|
135
95
|
</testcase>
|
|
136
|
-
<testcase classname="getSchemeProperties returns the properties for sourceSystem ESFIO when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem ESFIO when schemeId is not present" time="0">
|
|
96
|
+
<testcase classname="getSchemeProperties returns the properties for sourceSystem ESFIO when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem ESFIO when schemeId is not present" time="0.001">
|
|
137
97
|
</testcase>
|
|
138
98
|
<testcase classname="getSchemeProperties returns the properties for sourceSystem COHTR when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem COHTR when schemeId is not present" time="0">
|
|
139
99
|
</testcase>
|
|
140
100
|
<testcase classname="getSchemeProperties returns the properties for sourceSystem COHTC when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem COHTC when schemeId is not present" time="0">
|
|
141
101
|
</testcase>
|
|
142
|
-
<testcase classname="getSchemeProperties returns the properties for sourceSystem FPTT when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem FPTT when schemeId is not present" time="0
|
|
102
|
+
<testcase classname="getSchemeProperties returns the properties for sourceSystem FPTT when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem FPTT when schemeId is not present" time="0">
|
|
143
103
|
</testcase>
|
|
144
104
|
<testcase classname="getSchemeProperties returns the properties for sourceSystem WMP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem WMP when schemeId is not present" time="0">
|
|
145
105
|
</testcase>
|
|
@@ -150,7 +110,57 @@
|
|
|
150
110
|
<testcase classname="getSchemeProperties returns the manual scheme unchanged for an unknown pillar" name="getSchemeProperties returns the manual scheme unchanged for an unknown pillar" time="0">
|
|
151
111
|
</testcase>
|
|
152
112
|
</testsuite>
|
|
153
|
-
<testsuite name="
|
|
113
|
+
<testsuite name="getSchemeIdFromSourceSystem" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.024" tests="4">
|
|
114
|
+
<testcase classname="getSchemeIdFromSourceSystem returns the schemeId for a matching source system" name="getSchemeIdFromSourceSystem returns the schemeId for a matching source system" time="0.001">
|
|
115
|
+
</testcase>
|
|
116
|
+
<testcase classname="getSchemeIdFromSourceSystem returns undefined when the source system is not found" name="getSchemeIdFromSourceSystem returns undefined when the source system is not found" time="0">
|
|
117
|
+
</testcase>
|
|
118
|
+
<testcase classname="getSchemeIdFromSourceSystem returns undefined when no schemes are available" name="getSchemeIdFromSourceSystem returns undefined when no schemes are available" time="0">
|
|
119
|
+
</testcase>
|
|
120
|
+
<testcase classname="getSchemeIdFromSourceSystem gets schemes before searching for the source system" name="getSchemeIdFromSourceSystem gets schemes before searching for the source system" time="0">
|
|
121
|
+
</testcase>
|
|
122
|
+
</testsuite>
|
|
123
|
+
<testsuite name="getAccountCodeMap" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.04" tests="19">
|
|
124
|
+
<testcase classname="getAccountCodeMap returns the correct map for SFI" name="getAccountCodeMap returns the correct map for SFI" time="0">
|
|
125
|
+
</testcase>
|
|
126
|
+
<testcase classname="getAccountCodeMap returns the correct map for SFI_PILOT" name="getAccountCodeMap returns the correct map for SFI_PILOT" time="0.001">
|
|
127
|
+
</testcase>
|
|
128
|
+
<testcase classname="getAccountCodeMap returns the correct map for LUMP_SUMS" name="getAccountCodeMap returns the correct map for LUMP_SUMS" time="0">
|
|
129
|
+
</testcase>
|
|
130
|
+
<testcase classname="getAccountCodeMap returns the correct map for VET_VISITS" name="getAccountCodeMap returns the correct map for VET_VISITS" time="0">
|
|
131
|
+
</testcase>
|
|
132
|
+
<testcase classname="getAccountCodeMap returns the correct map for CS" name="getAccountCodeMap returns the correct map for CS" time="0.001">
|
|
133
|
+
</testcase>
|
|
134
|
+
<testcase classname="getAccountCodeMap returns the correct map for BPS" name="getAccountCodeMap returns the correct map for BPS" time="0">
|
|
135
|
+
</testcase>
|
|
136
|
+
<testcase classname="getAccountCodeMap returns the correct map for SFI23" name="getAccountCodeMap returns the correct map for SFI23" time="0">
|
|
137
|
+
</testcase>
|
|
138
|
+
<testcase classname="getAccountCodeMap returns the correct map for DELINKED" name="getAccountCodeMap returns the correct map for DELINKED" time="0">
|
|
139
|
+
</testcase>
|
|
140
|
+
<testcase classname="getAccountCodeMap returns the correct map for SFI_EXPANDED" name="getAccountCodeMap returns the correct map for SFI_EXPANDED" time="0">
|
|
141
|
+
</testcase>
|
|
142
|
+
<testcase classname="getAccountCodeMap returns the correct map for COHT_REVENUE" name="getAccountCodeMap returns the correct map for COHT_REVENUE" time="0">
|
|
143
|
+
</testcase>
|
|
144
|
+
<testcase classname="getAccountCodeMap returns the correct map for COHT_CAPITAL" name="getAccountCodeMap returns the correct map for COHT_CAPITAL" time="0">
|
|
145
|
+
</testcase>
|
|
146
|
+
<testcase classname="getAccountCodeMap returns the correct map for FPTT" name="getAccountCodeMap returns the correct map for FPTT" time="0">
|
|
147
|
+
</testcase>
|
|
148
|
+
<testcase classname="getAccountCodeMap returns the correct map for WMP" name="getAccountCodeMap returns the correct map for WMP" time="0">
|
|
149
|
+
</testcase>
|
|
150
|
+
<testcase classname="getAccountCodeMap throws an error for the unmapped MANUAL scheme" name="getAccountCodeMap throws an error for the unmapped MANUAL scheme" time="0.004">
|
|
151
|
+
</testcase>
|
|
152
|
+
<testcase classname="getAccountCodeMap throws an error for the unmapped ES scheme" name="getAccountCodeMap throws an error for the unmapped ES scheme" time="0">
|
|
153
|
+
</testcase>
|
|
154
|
+
<testcase classname="getAccountCodeMap throws an error for the unmapped FC scheme" name="getAccountCodeMap throws an error for the unmapped FC scheme" time="0.001">
|
|
155
|
+
</testcase>
|
|
156
|
+
<testcase classname="getAccountCodeMap throws an error for the unmapped IMPS scheme" name="getAccountCodeMap throws an error for the unmapped IMPS scheme" time="0">
|
|
157
|
+
</testcase>
|
|
158
|
+
<testcase classname="getAccountCodeMap throws an error when schemeId is not provided" name="getAccountCodeMap throws an error when schemeId is not provided" time="0">
|
|
159
|
+
</testcase>
|
|
160
|
+
<testcase classname="getAccountCodeMap throws an error for an unknown schemeId" name="getAccountCodeMap throws an error for an unknown schemeId" time="0.001">
|
|
161
|
+
</testcase>
|
|
162
|
+
</testsuite>
|
|
163
|
+
<testsuite name="CS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.027" tests="22">
|
|
154
164
|
<testcase classname="CS account code map contains all expected mappings" name="CS account code map contains all expected mappings" time="0.002">
|
|
155
165
|
</testcase>
|
|
156
166
|
<testcase classname="CS account code map contains the expected mapping for G00" name="CS account code map contains the expected mapping for G00" time="0">
|
|
@@ -161,194 +171,178 @@
|
|
|
161
171
|
</testcase>
|
|
162
172
|
<testcase classname="CS account code map contains the expected mapping for P02" name="CS account code map contains the expected mapping for P02" time="0">
|
|
163
173
|
</testcase>
|
|
164
|
-
<testcase classname="CS account code map contains the expected mapping for P02" name="CS account code map contains the expected mapping for P02" time="0">
|
|
165
|
-
</testcase>
|
|
166
174
|
<testcase classname="CS account code map contains the expected mapping for P02" name="CS account code map contains the expected mapping for P02" time="0.001">
|
|
167
175
|
</testcase>
|
|
168
|
-
<testcase classname="CS account code map contains the expected mapping for
|
|
176
|
+
<testcase classname="CS account code map contains the expected mapping for P02" name="CS account code map contains the expected mapping for P02" time="0">
|
|
169
177
|
</testcase>
|
|
170
178
|
<testcase classname="CS account code map contains the expected mapping for P05" name="CS account code map contains the expected mapping for P05" time="0">
|
|
171
179
|
</testcase>
|
|
172
|
-
<testcase classname="CS account code map contains the expected mapping for
|
|
180
|
+
<testcase classname="CS account code map contains the expected mapping for P05" name="CS account code map contains the expected mapping for P05" time="0.001">
|
|
173
181
|
</testcase>
|
|
174
182
|
<testcase classname="CS account code map contains the expected mapping for P06" name="CS account code map contains the expected mapping for P06" time="0">
|
|
175
183
|
</testcase>
|
|
176
|
-
<testcase classname="CS account code map contains the expected mapping for
|
|
184
|
+
<testcase classname="CS account code map contains the expected mapping for P06" name="CS account code map contains the expected mapping for P06" time="0">
|
|
177
185
|
</testcase>
|
|
178
186
|
<testcase classname="CS account code map contains the expected mapping for P08" name="CS account code map contains the expected mapping for P08" time="0.001">
|
|
179
187
|
</testcase>
|
|
180
|
-
<testcase classname="CS account code map contains the expected mapping for
|
|
188
|
+
<testcase classname="CS account code map contains the expected mapping for P08" name="CS account code map contains the expected mapping for P08" time="0">
|
|
181
189
|
</testcase>
|
|
182
|
-
<testcase classname="CS account code map contains the expected mapping for P14" name="CS account code map contains the expected mapping for P14" time="0">
|
|
190
|
+
<testcase classname="CS account code map contains the expected mapping for P14" name="CS account code map contains the expected mapping for P14" time="0.001">
|
|
183
191
|
</testcase>
|
|
184
|
-
<testcase classname="CS account code map contains the expected mapping for
|
|
192
|
+
<testcase classname="CS account code map contains the expected mapping for P14" name="CS account code map contains the expected mapping for P14" time="0">
|
|
185
193
|
</testcase>
|
|
186
194
|
<testcase classname="CS account code map contains the expected mapping for P22" name="CS account code map contains the expected mapping for P22" time="0">
|
|
187
195
|
</testcase>
|
|
188
|
-
<testcase classname="CS account code map contains the expected mapping for
|
|
196
|
+
<testcase classname="CS account code map contains the expected mapping for P22" name="CS account code map contains the expected mapping for P22" time="0">
|
|
189
197
|
</testcase>
|
|
190
198
|
<testcase classname="CS account code map contains the expected mapping for P23" name="CS account code map contains the expected mapping for P23" time="0">
|
|
191
199
|
</testcase>
|
|
192
|
-
<testcase classname="CS account code map contains the expected mapping for
|
|
200
|
+
<testcase classname="CS account code map contains the expected mapping for P23" name="CS account code map contains the expected mapping for P23" time="0">
|
|
193
201
|
</testcase>
|
|
194
202
|
<testcase classname="CS account code map contains the expected mapping for P24" name="CS account code map contains the expected mapping for P24" time="0">
|
|
195
203
|
</testcase>
|
|
204
|
+
<testcase classname="CS account code map contains the expected mapping for P24" name="CS account code map contains the expected mapping for P24" time="0.001">
|
|
205
|
+
</testcase>
|
|
196
206
|
<testcase classname="CS account code map contains the expected mapping for P24" name="CS account code map contains the expected mapping for P24" time="0">
|
|
197
207
|
</testcase>
|
|
198
208
|
</testsuite>
|
|
199
|
-
<testsuite name="
|
|
200
|
-
<testcase classname="
|
|
201
|
-
</testcase>
|
|
202
|
-
<testcase classname="createInvoiceNumber returns the existing invoice number for FC" name="createInvoiceNumber returns the existing invoice number for FC" time="0">
|
|
203
|
-
</testcase>
|
|
204
|
-
<testcase classname="createInvoiceNumber returns the existing invoice number for FPTT" name="createInvoiceNumber returns the existing invoice number for FPTT" time="0">
|
|
205
|
-
</testcase>
|
|
206
|
-
<testcase classname="createInvoiceNumber returns the existing invoice number for WMP" name="createInvoiceNumber returns the existing invoice number for WMP" time="0">
|
|
207
|
-
</testcase>
|
|
208
|
-
<testcase classname="createInvoiceNumber returns the existing invoice number for a manual source system" name="createInvoiceNumber returns the existing invoice number for a manual source system" time="0">
|
|
209
|
-
</testcase>
|
|
210
|
-
<testcase classname="createInvoiceNumber uses the standard scheme invoice number creator for DELINKED" name="createInvoiceNumber uses the standard scheme invoice number creator for DELINKED" time="0.001">
|
|
209
|
+
<testsuite name="BPS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.027" tests="28">
|
|
210
|
+
<testcase classname="BPS account code map contains all expected line codes" name="BPS account code map contains all expected line codes" time="0.001">
|
|
211
211
|
</testcase>
|
|
212
|
-
<testcase classname="
|
|
212
|
+
<testcase classname="BPS account code map returns the correct account codes for G00" name="BPS account code map returns the correct account codes for G00" time="0">
|
|
213
213
|
</testcase>
|
|
214
|
-
<testcase classname="
|
|
214
|
+
<testcase classname="BPS account code map returns the correct account codes for P01" name="BPS account code map returns the correct account codes for P01" time="0">
|
|
215
215
|
</testcase>
|
|
216
|
-
<testcase classname="
|
|
216
|
+
<testcase classname="BPS account code map returns the correct account codes for P02" name="BPS account code map returns the correct account codes for P02" time="0">
|
|
217
217
|
</testcase>
|
|
218
|
-
<testcase classname="
|
|
218
|
+
<testcase classname="BPS account code map returns the correct account codes for P03" name="BPS account code map returns the correct account codes for P03" time="0">
|
|
219
219
|
</testcase>
|
|
220
|
-
<testcase classname="
|
|
220
|
+
<testcase classname="BPS account code map returns the correct account codes for P04" name="BPS account code map returns the correct account codes for P04" time="0">
|
|
221
221
|
</testcase>
|
|
222
|
-
<testcase classname="
|
|
222
|
+
<testcase classname="BPS account code map returns the correct account codes for P05" name="BPS account code map returns the correct account codes for P05" time="0">
|
|
223
223
|
</testcase>
|
|
224
|
-
<testcase classname="
|
|
224
|
+
<testcase classname="BPS account code map returns the correct account codes for P06" name="BPS account code map returns the correct account codes for P06" time="0">
|
|
225
225
|
</testcase>
|
|
226
|
-
<testcase classname="
|
|
226
|
+
<testcase classname="BPS account code map returns the correct account codes for P07" name="BPS account code map returns the correct account codes for P07" time="0">
|
|
227
227
|
</testcase>
|
|
228
|
-
<testcase classname="
|
|
228
|
+
<testcase classname="BPS account code map returns the correct account codes for P08" name="BPS account code map returns the correct account codes for P08" time="0">
|
|
229
229
|
</testcase>
|
|
230
|
-
<testcase classname="
|
|
230
|
+
<testcase classname="BPS account code map returns the correct account codes for P09" name="BPS account code map returns the correct account codes for P09" time="0">
|
|
231
231
|
</testcase>
|
|
232
|
-
<testcase classname="
|
|
232
|
+
<testcase classname="BPS account code map returns the correct account codes for P10" name="BPS account code map returns the correct account codes for P10" time="0">
|
|
233
233
|
</testcase>
|
|
234
|
-
<testcase classname="
|
|
234
|
+
<testcase classname="BPS account code map returns the correct account codes for P11" name="BPS account code map returns the correct account codes for P11" time="0">
|
|
235
235
|
</testcase>
|
|
236
|
-
<testcase classname="
|
|
236
|
+
<testcase classname="BPS account code map returns the correct account codes for P12" name="BPS account code map returns the correct account codes for P12" time="0">
|
|
237
237
|
</testcase>
|
|
238
|
-
|
|
239
|
-
<testsuite name="createStandardSchemeInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:18" time="0.017" tests="3">
|
|
240
|
-
<testcase classname="createStandardSchemeInvoiceNumber creates a standard scheme invoice number" name="createStandardSchemeInvoiceNumber creates a standard scheme invoice number" time="0.001">
|
|
238
|
+
<testcase classname="BPS account code map returns the correct account codes for P13" name="BPS account code map returns the correct account codes for P13" time="0">
|
|
241
239
|
</testcase>
|
|
242
|
-
<testcase classname="
|
|
240
|
+
<testcase classname="BPS account code map returns the correct account codes for P14" name="BPS account code map returns the correct account codes for P14" time="0">
|
|
243
241
|
</testcase>
|
|
244
|
-
<testcase classname="
|
|
242
|
+
<testcase classname="BPS account code map returns the correct account codes for P15" name="BPS account code map returns the correct account codes for P15" time="0.001">
|
|
245
243
|
</testcase>
|
|
246
|
-
|
|
247
|
-
<testsuite name="getSchemes" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:18" time="0.022" tests="18">
|
|
248
|
-
<testcase classname="getSchemes returns all schemes with their IDs and names" name="getSchemes returns all schemes with their IDs and names" time="0.001">
|
|
244
|
+
<testcase classname="BPS account code map returns the correct account codes for P16" name="BPS account code map returns the correct account codes for P16" time="0">
|
|
249
245
|
</testcase>
|
|
250
|
-
<testcase classname="
|
|
246
|
+
<testcase classname="BPS account code map returns the correct account codes for P17" name="BPS account code map returns the correct account codes for P17" time="0">
|
|
251
247
|
</testcase>
|
|
252
|
-
<testcase classname="
|
|
248
|
+
<testcase classname="BPS account code map returns the correct account codes for P18" name="BPS account code map returns the correct account codes for P18" time="0">
|
|
253
249
|
</testcase>
|
|
254
|
-
<testcase classname="
|
|
250
|
+
<testcase classname="BPS account code map returns the correct account codes for P19" name="BPS account code map returns the correct account codes for P19" time="0">
|
|
255
251
|
</testcase>
|
|
256
|
-
<testcase classname="
|
|
252
|
+
<testcase classname="BPS account code map returns the correct account codes for P20" name="BPS account code map returns the correct account codes for P20" time="0">
|
|
257
253
|
</testcase>
|
|
258
|
-
<testcase classname="
|
|
254
|
+
<testcase classname="BPS account code map returns the correct account codes for P21" name="BPS account code map returns the correct account codes for P21" time="0">
|
|
259
255
|
</testcase>
|
|
260
|
-
<testcase classname="
|
|
256
|
+
<testcase classname="BPS account code map returns the correct account codes for R00" name="BPS account code map returns the correct account codes for R00" time="0">
|
|
261
257
|
</testcase>
|
|
262
|
-
<testcase classname="
|
|
258
|
+
<testcase classname="BPS account code map returns the correct account codes for X01" name="BPS account code map returns the correct account codes for X01" time="0">
|
|
263
259
|
</testcase>
|
|
264
|
-
<testcase classname="
|
|
260
|
+
<testcase classname="BPS account code map returns the correct account codes for X02" name="BPS account code map returns the correct account codes for X02" time="0.001">
|
|
265
261
|
</testcase>
|
|
266
|
-
<testcase classname="
|
|
262
|
+
<testcase classname="BPS account code map returns the correct account codes for X03" name="BPS account code map returns the correct account codes for X03" time="0">
|
|
267
263
|
</testcase>
|
|
268
|
-
<testcase classname="
|
|
264
|
+
<testcase classname="BPS account code map returns the correct account codes for X04" name="BPS account code map returns the correct account codes for X04" time="0">
|
|
269
265
|
</testcase>
|
|
270
|
-
|
|
266
|
+
</testsuite>
|
|
267
|
+
<testsuite name="createInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.025" tests="19">
|
|
268
|
+
<testcase classname="createInvoiceNumber returns the existing invoice number for MANUAL" name="createInvoiceNumber returns the existing invoice number for MANUAL" time="0.001">
|
|
271
269
|
</testcase>
|
|
272
|
-
<testcase classname="
|
|
270
|
+
<testcase classname="createInvoiceNumber returns the existing invoice number for FC" name="createInvoiceNumber returns the existing invoice number for FC" time="0">
|
|
273
271
|
</testcase>
|
|
274
|
-
<testcase classname="
|
|
272
|
+
<testcase classname="createInvoiceNumber returns the existing invoice number for FPTT" name="createInvoiceNumber returns the existing invoice number for FPTT" time="0">
|
|
275
273
|
</testcase>
|
|
276
|
-
<testcase classname="
|
|
274
|
+
<testcase classname="createInvoiceNumber returns the existing invoice number for WMP" name="createInvoiceNumber returns the existing invoice number for WMP" time="0">
|
|
277
275
|
</testcase>
|
|
278
|
-
<testcase classname="
|
|
276
|
+
<testcase classname="createInvoiceNumber returns the existing invoice number for a manual source system" name="createInvoiceNumber returns the existing invoice number for a manual source system" time="0">
|
|
279
277
|
</testcase>
|
|
280
|
-
<testcase classname="
|
|
278
|
+
<testcase classname="createInvoiceNumber uses the standard scheme invoice number creator for DELINKED" name="createInvoiceNumber uses the standard scheme invoice number creator for DELINKED" time="0">
|
|
281
279
|
</testcase>
|
|
282
|
-
<testcase classname="
|
|
280
|
+
<testcase classname="createInvoiceNumber uses the standard scheme invoice number creator for SFI_EXPANDED" name="createInvoiceNumber uses the standard scheme invoice number creator for SFI_EXPANDED" time="0.001">
|
|
283
281
|
</testcase>
|
|
284
|
-
|
|
285
|
-
<testsuite name="schemeProvidesAccountingValues" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:18" time="0.03" tests="18">
|
|
286
|
-
<testcase classname="schemeProvidesAccountingValues returns the expected result for SFI" name="schemeProvidesAccountingValues returns the expected result for SFI" time="0.001">
|
|
282
|
+
<testcase classname="createInvoiceNumber uses the standard scheme invoice number creator for COHT_REVENUE" name="createInvoiceNumber uses the standard scheme invoice number creator for COHT_REVENUE" time="0">
|
|
287
283
|
</testcase>
|
|
288
|
-
<testcase classname="
|
|
284
|
+
<testcase classname="createInvoiceNumber uses the standard scheme invoice number creator for COHT_CAPITAL" name="createInvoiceNumber uses the standard scheme invoice number creator for COHT_CAPITAL" time="0">
|
|
289
285
|
</testcase>
|
|
290
|
-
<testcase classname="
|
|
286
|
+
<testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for SFI" name="createInvoiceNumber uses the SITI Agri invoice number creator for SFI" time="0">
|
|
291
287
|
</testcase>
|
|
292
|
-
<testcase classname="
|
|
288
|
+
<testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for SFI_PILOT" name="createInvoiceNumber uses the SITI Agri invoice number creator for SFI_PILOT" time="0">
|
|
293
289
|
</testcase>
|
|
294
|
-
<testcase classname="
|
|
290
|
+
<testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for LUMP_SUMS" name="createInvoiceNumber uses the SITI Agri invoice number creator for LUMP_SUMS" time="0">
|
|
295
291
|
</testcase>
|
|
296
|
-
<testcase classname="
|
|
292
|
+
<testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for CS" name="createInvoiceNumber uses the SITI Agri invoice number creator for CS" time="0">
|
|
297
293
|
</testcase>
|
|
298
|
-
<testcase classname="
|
|
294
|
+
<testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for BPS" name="createInvoiceNumber uses the SITI Agri invoice number creator for BPS" time="0">
|
|
299
295
|
</testcase>
|
|
300
|
-
<testcase classname="
|
|
296
|
+
<testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for SFI23" name="createInvoiceNumber uses the SITI Agri invoice number creator for SFI23" time="0">
|
|
301
297
|
</testcase>
|
|
302
|
-
<testcase classname="
|
|
298
|
+
<testcase classname="createInvoiceNumber uses the ES invoice number creator" name="createInvoiceNumber uses the ES invoice number creator" time="0">
|
|
303
299
|
</testcase>
|
|
304
|
-
<testcase classname="
|
|
300
|
+
<testcase classname="createInvoiceNumber uses the IMPS invoice number creator" name="createInvoiceNumber uses the IMPS invoice number creator" time="0">
|
|
305
301
|
</testcase>
|
|
306
|
-
<testcase classname="
|
|
302
|
+
<testcase classname="createInvoiceNumber uses the default invoice number creator for an unmapped scheme" name="createInvoiceNumber uses the default invoice number creator for an unmapped scheme" time="0">
|
|
307
303
|
</testcase>
|
|
308
|
-
<testcase classname="
|
|
304
|
+
<testcase classname="createInvoiceNumber returns null when the payment request is invalid" name="createInvoiceNumber returns null when the payment request is invalid" time="0.001">
|
|
309
305
|
</testcase>
|
|
310
|
-
|
|
306
|
+
</testsuite>
|
|
307
|
+
<testsuite name="getSchemes" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.038" tests="18">
|
|
308
|
+
<testcase classname="getSchemes returns all schemes with their IDs and names" name="getSchemes returns all schemes with their IDs and names" time="0.001">
|
|
311
309
|
</testcase>
|
|
312
|
-
<testcase classname="
|
|
310
|
+
<testcase classname="getSchemes returns the correct details for SFI" name="getSchemes returns the correct details for SFI" time="0">
|
|
313
311
|
</testcase>
|
|
314
|
-
<testcase classname="
|
|
312
|
+
<testcase classname="getSchemes returns the correct details for SFI_PILOT" name="getSchemes returns the correct details for SFI_PILOT" time="0">
|
|
315
313
|
</testcase>
|
|
316
|
-
<testcase classname="
|
|
314
|
+
<testcase classname="getSchemes returns the correct details for LUMP_SUMS" name="getSchemes returns the correct details for LUMP_SUMS" time="0">
|
|
317
315
|
</testcase>
|
|
318
|
-
<testcase classname="
|
|
316
|
+
<testcase classname="getSchemes returns the correct details for VET_VISITS" name="getSchemes returns the correct details for VET_VISITS" time="0">
|
|
319
317
|
</testcase>
|
|
320
|
-
<testcase classname="
|
|
318
|
+
<testcase classname="getSchemes returns the correct details for CS" name="getSchemes returns the correct details for CS" time="0.001">
|
|
321
319
|
</testcase>
|
|
322
|
-
|
|
323
|
-
<testsuite name="SFI FRPS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:18" time="0.034" tests="10">
|
|
324
|
-
<testcase classname="SFI FRPS account code map contains the complete expected map" name="SFI FRPS account code map contains the complete expected map" time="0.003">
|
|
320
|
+
<testcase classname="getSchemes returns the correct details for BPS" name="getSchemes returns the correct details for BPS" time="0">
|
|
325
321
|
</testcase>
|
|
326
|
-
<testcase classname="
|
|
322
|
+
<testcase classname="getSchemes returns the correct details for MANUAL" name="getSchemes returns the correct details for MANUAL" time="0.001">
|
|
327
323
|
</testcase>
|
|
328
|
-
<testcase classname="
|
|
324
|
+
<testcase classname="getSchemes returns the correct details for ES" name="getSchemes returns the correct details for ES" time="0">
|
|
329
325
|
</testcase>
|
|
330
|
-
<testcase classname="
|
|
326
|
+
<testcase classname="getSchemes returns the correct details for FC" name="getSchemes returns the correct details for FC" time="0">
|
|
331
327
|
</testcase>
|
|
332
|
-
<testcase classname="
|
|
328
|
+
<testcase classname="getSchemes returns the correct details for IMPS" name="getSchemes returns the correct details for IMPS" time="0">
|
|
333
329
|
</testcase>
|
|
334
|
-
<testcase classname="
|
|
330
|
+
<testcase classname="getSchemes returns the correct details for SFI23" name="getSchemes returns the correct details for SFI23" time="0.001">
|
|
335
331
|
</testcase>
|
|
336
|
-
<testcase classname="
|
|
332
|
+
<testcase classname="getSchemes returns the correct details for DELINKED" name="getSchemes returns the correct details for DELINKED" time="0">
|
|
337
333
|
</testcase>
|
|
338
|
-
<testcase classname="
|
|
334
|
+
<testcase classname="getSchemes returns the correct details for SFI_EXPANDED" name="getSchemes returns the correct details for SFI_EXPANDED" time="0.001">
|
|
339
335
|
</testcase>
|
|
340
|
-
<testcase classname="
|
|
336
|
+
<testcase classname="getSchemes returns the correct details for COHT_REVENUE" name="getSchemes returns the correct details for COHT_REVENUE" time="0">
|
|
341
337
|
</testcase>
|
|
342
|
-
<testcase classname="
|
|
338
|
+
<testcase classname="getSchemes returns the correct details for COHT_CAPITAL" name="getSchemes returns the correct details for COHT_CAPITAL" time="0.001">
|
|
343
339
|
</testcase>
|
|
344
|
-
|
|
345
|
-
<testsuite name="createDefaultInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:19" time="0.023" tests="2">
|
|
346
|
-
<testcase classname="createDefaultInvoiceNumber creates an invoice number with a padded payment request number" name="createDefaultInvoiceNumber creates an invoice number with a padded payment request number" time="0.001">
|
|
340
|
+
<testcase classname="getSchemes returns the correct details for FPTT" name="getSchemes returns the correct details for FPTT" time="0">
|
|
347
341
|
</testcase>
|
|
348
|
-
<testcase classname="
|
|
342
|
+
<testcase classname="getSchemes returns the correct details for WMP" name="getSchemes returns the correct details for WMP" time="0.001">
|
|
349
343
|
</testcase>
|
|
350
344
|
</testsuite>
|
|
351
|
-
<testsuite name="createSplitInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:
|
|
345
|
+
<testsuite name="createSplitInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.021" tests="18">
|
|
352
346
|
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI" name="createSplitInvoiceNumber uses the correct invoice format for SFI" time="0.001">
|
|
353
347
|
</testcase>
|
|
354
348
|
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI_PILOT" name="createSplitInvoiceNumber uses the correct invoice format for SFI_PILOT" time="0">
|
|
@@ -359,7 +353,7 @@
|
|
|
359
353
|
</testcase>
|
|
360
354
|
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for CS" name="createSplitInvoiceNumber uses the correct invoice format for CS" time="0">
|
|
361
355
|
</testcase>
|
|
362
|
-
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for BPS" name="createSplitInvoiceNumber uses the correct invoice format for BPS" time="0
|
|
356
|
+
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for BPS" name="createSplitInvoiceNumber uses the correct invoice format for BPS" time="0">
|
|
363
357
|
</testcase>
|
|
364
358
|
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for MANUAL" name="createSplitInvoiceNumber uses the correct invoice format for MANUAL" time="0">
|
|
365
359
|
</testcase>
|
|
@@ -369,7 +363,7 @@
|
|
|
369
363
|
</testcase>
|
|
370
364
|
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for IMPS" name="createSplitInvoiceNumber uses the correct invoice format for IMPS" time="0">
|
|
371
365
|
</testcase>
|
|
372
|
-
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI23" name="createSplitInvoiceNumber uses the correct invoice format for SFI23" time="0">
|
|
366
|
+
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI23" name="createSplitInvoiceNumber uses the correct invoice format for SFI23" time="0.001">
|
|
373
367
|
</testcase>
|
|
374
368
|
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for DELINKED" name="createSplitInvoiceNumber uses the correct invoice format for DELINKED" time="0">
|
|
375
369
|
</testcase>
|
|
@@ -383,113 +377,73 @@
|
|
|
383
377
|
</testcase>
|
|
384
378
|
<testcase classname="createSplitInvoiceNumber uses the correct invoice format for WMP" name="createSplitInvoiceNumber uses the correct invoice format for WMP" time="0">
|
|
385
379
|
</testcase>
|
|
386
|
-
<testcase classname="createSplitInvoiceNumber uses the default format for an unknown schemeId" name="createSplitInvoiceNumber uses the default format for an unknown schemeId" time="0
|
|
387
|
-
</testcase>
|
|
388
|
-
</testsuite>
|
|
389
|
-
<testsuite name="default account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:19" time="0.023" tests="1">
|
|
390
|
-
<testcase classname="default account code map contains the expected account code mappings" name="default account code map contains the expected account code mappings" time="0.001">
|
|
391
|
-
</testcase>
|
|
392
|
-
</testsuite>
|
|
393
|
-
<testsuite name="COHTC account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:19" time="0.035" tests="4">
|
|
394
|
-
<testcase classname="COHTC account code map returns the correct account codes for G00" name="COHTC account code map returns the correct account codes for G00" time="0.002">
|
|
395
|
-
</testcase>
|
|
396
|
-
<testcase classname="COHTC account code map returns the correct account codes for P02" name="COHTC account code map returns the correct account codes for P02" time="0">
|
|
397
|
-
</testcase>
|
|
398
|
-
<testcase classname="COHTC account code map returns the correct account codes for P24" name="COHTC account code map returns the correct account codes for P24" time="0.001">
|
|
399
|
-
</testcase>
|
|
400
|
-
<testcase classname="COHTC account code map contains exactly the expected mappings" name="COHTC account code map contains exactly the expected mappings" time="0.001">
|
|
380
|
+
<testcase classname="createSplitInvoiceNumber uses the default format for an unknown schemeId" name="createSplitInvoiceNumber uses the default format for an unknown schemeId" time="0">
|
|
401
381
|
</testcase>
|
|
402
382
|
</testsuite>
|
|
403
|
-
<testsuite name="
|
|
404
|
-
<testcase classname="
|
|
405
|
-
</testcase>
|
|
406
|
-
<testcase classname="BPS account code map returns the correct account codes for G00" name="BPS account code map returns the correct account codes for G00" time="0.001">
|
|
407
|
-
</testcase>
|
|
408
|
-
<testcase classname="BPS account code map returns the correct account codes for P01" name="BPS account code map returns the correct account codes for P01" time="0">
|
|
409
|
-
</testcase>
|
|
410
|
-
<testcase classname="BPS account code map returns the correct account codes for P02" name="BPS account code map returns the correct account codes for P02" time="0">
|
|
411
|
-
</testcase>
|
|
412
|
-
<testcase classname="BPS account code map returns the correct account codes for P03" name="BPS account code map returns the correct account codes for P03" time="0">
|
|
413
|
-
</testcase>
|
|
414
|
-
<testcase classname="BPS account code map returns the correct account codes for P04" name="BPS account code map returns the correct account codes for P04" time="0.001">
|
|
415
|
-
</testcase>
|
|
416
|
-
<testcase classname="BPS account code map returns the correct account codes for P05" name="BPS account code map returns the correct account codes for P05" time="0">
|
|
417
|
-
</testcase>
|
|
418
|
-
<testcase classname="BPS account code map returns the correct account codes for P06" name="BPS account code map returns the correct account codes for P06" time="0">
|
|
419
|
-
</testcase>
|
|
420
|
-
<testcase classname="BPS account code map returns the correct account codes for P07" name="BPS account code map returns the correct account codes for P07" time="0">
|
|
421
|
-
</testcase>
|
|
422
|
-
<testcase classname="BPS account code map returns the correct account codes for P08" name="BPS account code map returns the correct account codes for P08" time="0.001">
|
|
423
|
-
</testcase>
|
|
424
|
-
<testcase classname="BPS account code map returns the correct account codes for P09" name="BPS account code map returns the correct account codes for P09" time="0">
|
|
383
|
+
<testsuite name="schemeProvidesAccountingValues" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.022" tests="18">
|
|
384
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for SFI" name="schemeProvidesAccountingValues returns the expected result for SFI" time="0.001">
|
|
425
385
|
</testcase>
|
|
426
|
-
<testcase classname="
|
|
386
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for SFI_PILOT" name="schemeProvidesAccountingValues returns the expected result for SFI_PILOT" time="0">
|
|
427
387
|
</testcase>
|
|
428
|
-
<testcase classname="
|
|
388
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for LUMP_SUMS" name="schemeProvidesAccountingValues returns the expected result for LUMP_SUMS" time="0">
|
|
429
389
|
</testcase>
|
|
430
|
-
<testcase classname="
|
|
390
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for VET_VISITS" name="schemeProvidesAccountingValues returns the expected result for VET_VISITS" time="0">
|
|
431
391
|
</testcase>
|
|
432
|
-
<testcase classname="
|
|
392
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for CS" name="schemeProvidesAccountingValues returns the expected result for CS" time="0">
|
|
433
393
|
</testcase>
|
|
434
|
-
<testcase classname="
|
|
394
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for BPS" name="schemeProvidesAccountingValues returns the expected result for BPS" time="0">
|
|
435
395
|
</testcase>
|
|
436
|
-
<testcase classname="
|
|
396
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for MANUAL" name="schemeProvidesAccountingValues returns the expected result for MANUAL" time="0">
|
|
437
397
|
</testcase>
|
|
438
|
-
<testcase classname="
|
|
398
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for ES" name="schemeProvidesAccountingValues returns the expected result for ES" time="0">
|
|
439
399
|
</testcase>
|
|
440
|
-
<testcase classname="
|
|
400
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for FC" name="schemeProvidesAccountingValues returns the expected result for FC" time="0">
|
|
441
401
|
</testcase>
|
|
442
|
-
<testcase classname="
|
|
402
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for IMPS" name="schemeProvidesAccountingValues returns the expected result for IMPS" time="0">
|
|
443
403
|
</testcase>
|
|
444
|
-
<testcase classname="
|
|
404
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for SFI23" name="schemeProvidesAccountingValues returns the expected result for SFI23" time="0">
|
|
445
405
|
</testcase>
|
|
446
|
-
<testcase classname="
|
|
406
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for DELINKED" name="schemeProvidesAccountingValues returns the expected result for DELINKED" time="0">
|
|
447
407
|
</testcase>
|
|
448
|
-
<testcase classname="
|
|
408
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for SFI_EXPANDED" name="schemeProvidesAccountingValues returns the expected result for SFI_EXPANDED" time="0">
|
|
449
409
|
</testcase>
|
|
450
|
-
<testcase classname="
|
|
410
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for COHT_REVENUE" name="schemeProvidesAccountingValues returns the expected result for COHT_REVENUE" time="0">
|
|
451
411
|
</testcase>
|
|
452
|
-
<testcase classname="
|
|
412
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for COHT_CAPITAL" name="schemeProvidesAccountingValues returns the expected result for COHT_CAPITAL" time="0">
|
|
453
413
|
</testcase>
|
|
454
|
-
<testcase classname="
|
|
414
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for FPTT" name="schemeProvidesAccountingValues returns the expected result for FPTT" time="0">
|
|
455
415
|
</testcase>
|
|
456
|
-
<testcase classname="
|
|
416
|
+
<testcase classname="schemeProvidesAccountingValues returns the expected result for WMP" name="schemeProvidesAccountingValues returns the expected result for WMP" time="0">
|
|
457
417
|
</testcase>
|
|
458
|
-
<testcase classname="
|
|
418
|
+
<testcase classname="schemeProvidesAccountingValues returns false for an unknown schemeId" name="schemeProvidesAccountingValues returns false for an unknown schemeId" time="0">
|
|
459
419
|
</testcase>
|
|
460
420
|
</testsuite>
|
|
461
|
-
<testsuite name="
|
|
462
|
-
<testcase classname="
|
|
421
|
+
<testsuite name="getSchemeNameFromSchemeId" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.018" tests="4">
|
|
422
|
+
<testcase classname="getSchemeNameFromSchemeId returns the source system for a matching scheme ID" name="getSchemeNameFromSchemeId returns the source system for a matching scheme ID" time="0">
|
|
463
423
|
</testcase>
|
|
464
|
-
<testcase classname="
|
|
465
|
-
</testcase>
|
|
466
|
-
<testcase classname="createSitiAgriInvoiceNumber inserts splitId SITIAGRI000123 into invoice number X" name="createSitiAgriInvoiceNumber inserts splitId SITIAGRI000123 into invoice number X" time="0.001">
|
|
467
|
-
</testcase>
|
|
468
|
-
</testsuite>
|
|
469
|
-
<testsuite name="createDefaultInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:19" time="0.034" tests="3">
|
|
470
|
-
<testcase classname="createDefaultInvoiceNumber inserts splitId INV1234 into invoice number A" name="createDefaultInvoiceNumber inserts splitId INV1234 into invoice number A" time="0.001">
|
|
424
|
+
<testcase classname="getSchemeNameFromSchemeId returns undefined when the scheme ID is not found" name="getSchemeNameFromSchemeId returns undefined when the scheme ID is not found" time="0">
|
|
471
425
|
</testcase>
|
|
472
|
-
<testcase classname="
|
|
426
|
+
<testcase classname="getSchemeNameFromSchemeId returns undefined when no schemes are available" name="getSchemeNameFromSchemeId returns undefined when no schemes are available" time="0">
|
|
473
427
|
</testcase>
|
|
474
|
-
<testcase classname="
|
|
428
|
+
<testcase classname="getSchemeNameFromSchemeId gets schemes before searching for the source system" name="getSchemeNameFromSchemeId gets schemes before searching for the source system" time="0.001">
|
|
475
429
|
</testcase>
|
|
476
430
|
</testsuite>
|
|
477
|
-
<testsuite name="get scheme batch properties" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:
|
|
431
|
+
<testsuite name="get scheme batch properties" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.023" tests="18">
|
|
478
432
|
<testcase classname="get scheme batch properties returns the batch properties for schemeId 1" name="get scheme batch properties returns the batch properties for schemeId 1" time="0.001">
|
|
479
433
|
</testcase>
|
|
480
|
-
<testcase classname="get scheme batch properties returns the batch properties for schemeId 2" name="get scheme batch properties returns the batch properties for schemeId 2" time="0">
|
|
434
|
+
<testcase classname="get scheme batch properties returns the batch properties for schemeId 2" name="get scheme batch properties returns the batch properties for schemeId 2" time="0.001">
|
|
481
435
|
</testcase>
|
|
482
436
|
<testcase classname="get scheme batch properties returns the batch properties for schemeId 3" name="get scheme batch properties returns the batch properties for schemeId 3" time="0">
|
|
483
437
|
</testcase>
|
|
484
|
-
<testcase classname="get scheme batch properties returns the batch properties for schemeId 4" name="get scheme batch properties returns the batch properties for schemeId 4" time="0
|
|
438
|
+
<testcase classname="get scheme batch properties returns the batch properties for schemeId 4" name="get scheme batch properties returns the batch properties for schemeId 4" time="0">
|
|
485
439
|
</testcase>
|
|
486
|
-
<testcase classname="get scheme batch properties returns the batch properties for schemeId 5" name="get scheme batch properties returns the batch properties for schemeId 5" time="0
|
|
440
|
+
<testcase classname="get scheme batch properties returns the batch properties for schemeId 5" name="get scheme batch properties returns the batch properties for schemeId 5" time="0">
|
|
487
441
|
</testcase>
|
|
488
442
|
<testcase classname="get scheme batch properties returns the batch properties for schemeId 6" name="get scheme batch properties returns the batch properties for schemeId 6" time="0">
|
|
489
443
|
</testcase>
|
|
490
444
|
<testcase classname="get scheme batch properties returns the batch properties for schemeId 8" name="get scheme batch properties returns the batch properties for schemeId 8" time="0">
|
|
491
445
|
</testcase>
|
|
492
|
-
<testcase classname="get scheme batch properties returns the batch properties for schemeId 9" name="get scheme batch properties returns the batch properties for schemeId 9" time="0
|
|
446
|
+
<testcase classname="get scheme batch properties returns the batch properties for schemeId 9" name="get scheme batch properties returns the batch properties for schemeId 9" time="0">
|
|
493
447
|
</testcase>
|
|
494
448
|
<testcase classname="get scheme batch properties returns the batch properties for schemeId 10" name="get scheme batch properties returns the batch properties for schemeId 10" time="0">
|
|
495
449
|
</testcase>
|
|
@@ -499,29 +453,37 @@
|
|
|
499
453
|
</testcase>
|
|
500
454
|
<testcase classname="get scheme batch properties returns the batch properties for schemeId 13" name="get scheme batch properties returns the batch properties for schemeId 13" time="0">
|
|
501
455
|
</testcase>
|
|
502
|
-
<testcase classname="get scheme batch properties returns the batch properties for schemeId 14" name="get scheme batch properties returns the batch properties for schemeId 14" time="0
|
|
456
|
+
<testcase classname="get scheme batch properties returns the batch properties for schemeId 14" name="get scheme batch properties returns the batch properties for schemeId 14" time="0">
|
|
503
457
|
</testcase>
|
|
504
|
-
<testcase classname="get scheme batch properties returns the batch properties for schemeId 15" name="get scheme batch properties returns the batch properties for schemeId 15" time="0
|
|
458
|
+
<testcase classname="get scheme batch properties returns the batch properties for schemeId 15" name="get scheme batch properties returns the batch properties for schemeId 15" time="0">
|
|
505
459
|
</testcase>
|
|
506
|
-
<testcase classname="get scheme batch properties returns the batch properties for schemeId 16" name="get scheme batch properties returns the batch properties for schemeId 16" time="0
|
|
460
|
+
<testcase classname="get scheme batch properties returns the batch properties for schemeId 16" name="get scheme batch properties returns the batch properties for schemeId 16" time="0">
|
|
507
461
|
</testcase>
|
|
508
462
|
<testcase classname="get scheme batch properties returns the batch properties for schemeId 17" name="get scheme batch properties returns the batch properties for schemeId 17" time="0">
|
|
509
463
|
</testcase>
|
|
510
|
-
<testcase classname="get scheme batch properties returns the batch properties for schemeId 18" name="get scheme batch properties returns the batch properties for schemeId 18" time="0
|
|
464
|
+
<testcase classname="get scheme batch properties returns the batch properties for schemeId 18" name="get scheme batch properties returns the batch properties for schemeId 18" time="0">
|
|
511
465
|
</testcase>
|
|
512
466
|
<testcase classname="get scheme batch properties returns undefined for an unknown schemeId" name="get scheme batch properties returns undefined for an unknown schemeId" time="0">
|
|
513
467
|
</testcase>
|
|
514
468
|
</testsuite>
|
|
515
|
-
<testsuite name="
|
|
516
|
-
<testcase classname="
|
|
469
|
+
<testsuite name="createStandardSchemeInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="3">
|
|
470
|
+
<testcase classname="createStandardSchemeInvoiceNumber creates a standard scheme invoice number" name="createStandardSchemeInvoiceNumber creates a standard scheme invoice number" time="0.001">
|
|
471
|
+
</testcase>
|
|
472
|
+
<testcase classname="createStandardSchemeInvoiceNumber returns null when the invoice number is too short" name="createStandardSchemeInvoiceNumber returns null when the invoice number is too short" time="0.001">
|
|
517
473
|
</testcase>
|
|
518
|
-
<testcase classname="
|
|
474
|
+
<testcase classname="createStandardSchemeInvoiceNumber returns null when required values are missing" name="createStandardSchemeInvoiceNumber returns null when required values are missing" time="0">
|
|
475
|
+
</testcase>
|
|
476
|
+
</testsuite>
|
|
477
|
+
<testsuite name="schemeDoesNotRequirePPAs" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.019" tests="18">
|
|
478
|
+
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI" name="schemeDoesNotRequirePPAs returns the expected result for SFI" time="0">
|
|
479
|
+
</testcase>
|
|
480
|
+
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI_PILOT" name="schemeDoesNotRequirePPAs returns the expected result for SFI_PILOT" time="0.001">
|
|
519
481
|
</testcase>
|
|
520
482
|
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for LUMP_SUMS" name="schemeDoesNotRequirePPAs returns the expected result for LUMP_SUMS" time="0">
|
|
521
483
|
</testcase>
|
|
522
|
-
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for VET_VISITS" name="schemeDoesNotRequirePPAs returns the expected result for VET_VISITS" time="0
|
|
484
|
+
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for VET_VISITS" name="schemeDoesNotRequirePPAs returns the expected result for VET_VISITS" time="0">
|
|
523
485
|
</testcase>
|
|
524
|
-
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for CS" name="schemeDoesNotRequirePPAs returns the expected result for CS" time="0
|
|
486
|
+
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for CS" name="schemeDoesNotRequirePPAs returns the expected result for CS" time="0">
|
|
525
487
|
</testcase>
|
|
526
488
|
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for BPS" name="schemeDoesNotRequirePPAs returns the expected result for BPS" time="0.001">
|
|
527
489
|
</testcase>
|
|
@@ -529,19 +491,19 @@
|
|
|
529
491
|
</testcase>
|
|
530
492
|
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for ES" name="schemeDoesNotRequirePPAs returns the expected result for ES" time="0">
|
|
531
493
|
</testcase>
|
|
532
|
-
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for FC" name="schemeDoesNotRequirePPAs returns the expected result for FC" time="0
|
|
494
|
+
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for FC" name="schemeDoesNotRequirePPAs returns the expected result for FC" time="0">
|
|
533
495
|
</testcase>
|
|
534
496
|
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for IMPS" name="schemeDoesNotRequirePPAs returns the expected result for IMPS" time="0">
|
|
535
497
|
</testcase>
|
|
536
498
|
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI23" name="schemeDoesNotRequirePPAs returns the expected result for SFI23" time="0">
|
|
537
499
|
</testcase>
|
|
538
|
-
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for DELINKED" name="schemeDoesNotRequirePPAs returns the expected result for DELINKED" time="0
|
|
500
|
+
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for DELINKED" name="schemeDoesNotRequirePPAs returns the expected result for DELINKED" time="0">
|
|
539
501
|
</testcase>
|
|
540
502
|
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI_EXPANDED" name="schemeDoesNotRequirePPAs returns the expected result for SFI_EXPANDED" time="0">
|
|
541
503
|
</testcase>
|
|
542
504
|
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for COHT_REVENUE" name="schemeDoesNotRequirePPAs returns the expected result for COHT_REVENUE" time="0.001">
|
|
543
505
|
</testcase>
|
|
544
|
-
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for COHT_CAPITAL" name="schemeDoesNotRequirePPAs returns the expected result for COHT_CAPITAL" time="0
|
|
506
|
+
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for COHT_CAPITAL" name="schemeDoesNotRequirePPAs returns the expected result for COHT_CAPITAL" time="0">
|
|
545
507
|
</testcase>
|
|
546
508
|
<testcase classname="schemeDoesNotRequirePPAs returns the expected result for FPTT" name="schemeDoesNotRequirePPAs returns the expected result for FPTT" time="0">
|
|
547
509
|
</testcase>
|
|
@@ -550,19 +512,63 @@
|
|
|
550
512
|
<testcase classname="schemeDoesNotRequirePPAs returns false for an unknown schemeId" name="schemeDoesNotRequirePPAs returns false for an unknown schemeId" time="0">
|
|
551
513
|
</testcase>
|
|
552
514
|
</testsuite>
|
|
553
|
-
<testsuite name="
|
|
554
|
-
<testcase classname="
|
|
515
|
+
<testsuite name="getSourceSystemFromSchemeId" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.016" tests="4">
|
|
516
|
+
<testcase classname="getSourceSystemFromSchemeId returns the source system for a matching scheme ID" name="getSourceSystemFromSchemeId returns the source system for a matching scheme ID" time="0">
|
|
517
|
+
</testcase>
|
|
518
|
+
<testcase classname="getSourceSystemFromSchemeId returns undefined when the scheme ID is not found" name="getSourceSystemFromSchemeId returns undefined when the scheme ID is not found" time="0">
|
|
519
|
+
</testcase>
|
|
520
|
+
<testcase classname="getSourceSystemFromSchemeId returns undefined when no schemes are available" name="getSourceSystemFromSchemeId returns undefined when no schemes are available" time="0">
|
|
521
|
+
</testcase>
|
|
522
|
+
<testcase classname="getSourceSystemFromSchemeId gets schemes before searching for the source system" name="getSourceSystemFromSchemeId gets schemes before searching for the source system" time="0.001">
|
|
523
|
+
</testcase>
|
|
524
|
+
</testsuite>
|
|
525
|
+
<testsuite name="SFI FRPS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.018" tests="10">
|
|
526
|
+
<testcase classname="SFI FRPS account code map contains the complete expected map" name="SFI FRPS account code map contains the complete expected map" time="0">
|
|
527
|
+
</testcase>
|
|
528
|
+
<testcase classname="SFI FRPS account code map contains default mapping 0" name="SFI FRPS account code map contains default mapping 0" time="0">
|
|
529
|
+
</testcase>
|
|
530
|
+
<testcase classname="SFI FRPS account code map contains default mapping 1" name="SFI FRPS account code map contains default mapping 1" time="0">
|
|
531
|
+
</testcase>
|
|
532
|
+
<testcase classname="SFI FRPS account code map contains default mapping 2" name="SFI FRPS account code map contains default mapping 2" time="0">
|
|
533
|
+
</testcase>
|
|
534
|
+
<testcase classname="SFI FRPS account code map contains default mapping 3" name="SFI FRPS account code map contains default mapping 3" time="0.001">
|
|
535
|
+
</testcase>
|
|
536
|
+
<testcase classname="SFI FRPS account code map contains default mapping 4" name="SFI FRPS account code map contains default mapping 4" time="0">
|
|
537
|
+
</testcase>
|
|
538
|
+
<testcase classname="SFI FRPS account code map contains default mapping 5" name="SFI FRPS account code map contains default mapping 5" time="0">
|
|
539
|
+
</testcase>
|
|
540
|
+
<testcase classname="SFI FRPS account code map contains default mapping 6" name="SFI FRPS account code map contains default mapping 6" time="0">
|
|
541
|
+
</testcase>
|
|
542
|
+
<testcase classname="SFI FRPS account code map contains default mapping 7" name="SFI FRPS account code map contains default mapping 7" time="0">
|
|
543
|
+
</testcase>
|
|
544
|
+
<testcase classname="SFI FRPS account code map contains the P02 mapping" name="SFI FRPS account code map contains the P02 mapping" time="0">
|
|
555
545
|
</testcase>
|
|
556
546
|
</testsuite>
|
|
557
|
-
<testsuite name="
|
|
547
|
+
<testsuite name="Lump Sums account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="1">
|
|
548
|
+
<testcase classname="Lump Sums account code map contains the expected mapping" name="Lump Sums account code map contains the expected mapping" time="0.001">
|
|
549
|
+
</testcase>
|
|
550
|
+
</testsuite>
|
|
551
|
+
<testsuite name="Vet Visits account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="1">
|
|
558
552
|
<testcase classname="Vet Visits account code map contains the expected mapping" name="Vet Visits account code map contains the expected mapping" time="0.001">
|
|
559
553
|
</testcase>
|
|
560
554
|
</testsuite>
|
|
561
|
-
<testsuite name="
|
|
562
|
-
<testcase classname="
|
|
555
|
+
<testsuite name="createSitiAgriInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.014" tests="3">
|
|
556
|
+
<testcase classname="createSitiAgriInvoiceNumber inserts splitId 1234567890123 into invoice number A" name="createSitiAgriInvoiceNumber inserts splitId 1234567890123 into invoice number A" time="0.001">
|
|
557
|
+
</testcase>
|
|
558
|
+
<testcase classname="createSitiAgriInvoiceNumber inserts splitId ABCDEFGH12345 into invoice number 9" name="createSitiAgriInvoiceNumber inserts splitId ABCDEFGH12345 into invoice number 9" time="0">
|
|
559
|
+
</testcase>
|
|
560
|
+
<testcase classname="createSitiAgriInvoiceNumber inserts splitId SITIAGRI000123 into invoice number X" name="createSitiAgriInvoiceNumber inserts splitId SITIAGRI000123 into invoice number X" time="0">
|
|
563
561
|
</testcase>
|
|
564
562
|
</testsuite>
|
|
565
|
-
<testsuite name="
|
|
563
|
+
<testsuite name="Delinked account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.016" tests="1">
|
|
564
|
+
<testcase classname="Delinked account code map contains the expected account code mappings" name="Delinked account code map contains the expected account code mappings" time="0.001">
|
|
565
|
+
</testcase>
|
|
566
|
+
</testsuite>
|
|
567
|
+
<testsuite name="default account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.014" tests="1">
|
|
568
|
+
<testcase classname="default account code map contains the expected account code mappings" name="default account code map contains the expected account code mappings" time="0.002">
|
|
569
|
+
</testcase>
|
|
570
|
+
</testsuite>
|
|
571
|
+
<testsuite name="createSitiAgriInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.016" tests="3">
|
|
566
572
|
<testcase classname="createSitiAgriInvoiceNumber creates a SITI Agri invoice number" name="createSitiAgriInvoiceNumber creates a SITI Agri invoice number" time="0">
|
|
567
573
|
</testcase>
|
|
568
574
|
<testcase classname="createSitiAgriInvoiceNumber returns null when the invoice number is too short" name="createSitiAgriInvoiceNumber returns null when the invoice number is too short" time="0">
|
|
@@ -570,11 +576,7 @@
|
|
|
570
576
|
<testcase classname="createSitiAgriInvoiceNumber returns null when required values are missing" name="createSitiAgriInvoiceNumber returns null when required values are missing" time="0">
|
|
571
577
|
</testcase>
|
|
572
578
|
</testsuite>
|
|
573
|
-
<testsuite name="
|
|
574
|
-
<testcase classname="Delinked account code map contains the expected account code mappings" name="Delinked account code map contains the expected account code mappings" time="0.001">
|
|
575
|
-
</testcase>
|
|
576
|
-
</testsuite>
|
|
577
|
-
<testsuite name="createIMPSInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:29:19" time="0.017" tests="3">
|
|
579
|
+
<testsuite name="createIMPSInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.017" tests="3">
|
|
578
580
|
<testcase classname="createIMPSInvoiceNumber adds the trader to an invoice number" name="createIMPSInvoiceNumber adds the trader to an invoice number" time="0.001">
|
|
579
581
|
</testcase>
|
|
580
582
|
<testcase classname="createIMPSInvoiceNumber returns the invoice number when it already contains the trader" name="createIMPSInvoiceNumber returns the invoice number when it already contains the trader" time="0">
|
|
@@ -582,8 +584,36 @@
|
|
|
582
584
|
<testcase classname="createIMPSInvoiceNumber returns null when the invoice number has no separator" name="createIMPSInvoiceNumber returns null when the invoice number has no separator" time="0">
|
|
583
585
|
</testcase>
|
|
584
586
|
</testsuite>
|
|
585
|
-
<testsuite name="
|
|
586
|
-
<testcase classname="
|
|
587
|
+
<testsuite name="COHTC account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.016" tests="4">
|
|
588
|
+
<testcase classname="COHTC account code map returns the correct account codes for G00" name="COHTC account code map returns the correct account codes for G00" time="0.001">
|
|
589
|
+
</testcase>
|
|
590
|
+
<testcase classname="COHTC account code map returns the correct account codes for P02" name="COHTC account code map returns the correct account codes for P02" time="0">
|
|
591
|
+
</testcase>
|
|
592
|
+
<testcase classname="COHTC account code map returns the correct account codes for P24" name="COHTC account code map returns the correct account codes for P24" time="0.001">
|
|
593
|
+
</testcase>
|
|
594
|
+
<testcase classname="COHTC account code map contains exactly the expected mappings" name="COHTC account code map contains exactly the expected mappings" time="0">
|
|
595
|
+
</testcase>
|
|
596
|
+
</testsuite>
|
|
597
|
+
<testsuite name="createDefaultInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="3">
|
|
598
|
+
<testcase classname="createDefaultInvoiceNumber inserts splitId INV1234 into invoice number A" name="createDefaultInvoiceNumber inserts splitId INV1234 into invoice number A" time="0.001">
|
|
599
|
+
</testcase>
|
|
600
|
+
<testcase classname="createDefaultInvoiceNumber inserts splitId 123456789 into invoice number B" name="createDefaultInvoiceNumber inserts splitId 123456789 into invoice number B" time="0">
|
|
601
|
+
</testcase>
|
|
602
|
+
<testcase classname="createDefaultInvoiceNumber inserts splitId ABC-1234 into invoice number 9" name="createDefaultInvoiceNumber inserts splitId ABC-1234 into invoice number 9" time="0.001">
|
|
603
|
+
</testcase>
|
|
604
|
+
</testsuite>
|
|
605
|
+
<testsuite name="useInvoiceNumberAsIs" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="1">
|
|
606
|
+
<testcase classname="useInvoiceNumberAsIs returns the invoice number unchanged" name="useInvoiceNumberAsIs returns the invoice number unchanged" time="0.001">
|
|
607
|
+
</testcase>
|
|
608
|
+
</testsuite>
|
|
609
|
+
<testsuite name="createDefaultInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.014" tests="2">
|
|
610
|
+
<testcase classname="createDefaultInvoiceNumber creates an invoice number with a padded payment request number" name="createDefaultInvoiceNumber creates an invoice number with a padded payment request number" time="0.001">
|
|
611
|
+
</testcase>
|
|
612
|
+
<testcase classname="createDefaultInvoiceNumber returns null when required values are missing" name="createDefaultInvoiceNumber returns null when required values are missing" time="0">
|
|
613
|
+
</testcase>
|
|
614
|
+
</testsuite>
|
|
615
|
+
<testsuite name="createESInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="1">
|
|
616
|
+
<testcase classname="createESInvoiceNumber creates an ES invoice number" name="createESInvoiceNumber creates an ES invoice number" time="0">
|
|
587
617
|
</testcase>
|
|
588
618
|
</testsuite>
|
|
589
619
|
</testsuites>
|