@@ -28,8 +28,8 @@ func TestFetchXcsrfTokenFromHead(t *testing.T) {
2828 Password : "Test" ,
2929 URL : "https://api.endpoint.com/Entity/" ,
3030 }
31- token , err := fetchXcsrfTokenFromHead (con , client )
32- if err == nil {
31+ token , error := fetchXcsrfTokenFromHead (con , client )
32+ if error == nil {
3333 assert .Equal (t , tokenExpected , token )
3434 }
3535 })
@@ -46,8 +46,8 @@ func TestFetchXcsrfTokenFromHead(t *testing.T) {
4646 Password : "Test" ,
4747 URL : "https://api.endpoint.com/Entity/" ,
4848 }
49- token , err := fetchXcsrfTokenFromHead (con , client )
50- if err == nil {
49+ token , error := fetchXcsrfTokenFromHead (con , client )
50+ if error == nil {
5151 assert .Equal (t , tokenExpected , token )
5252 }
5353 })
@@ -77,39 +77,39 @@ func TestHandleHttpResponse(t *testing.T) {
7777--B772E21DAA42B9571C778276B829D6C20
7878Content-Type: multipart/mixed; boundary=B772E21DAA42B9571C778276B829D6C21
7979Content-Length: 1973
80-
80+
8181--B772E21DAA42B9571C778276B829D6C21
8282Content-Type: application/http
8383Content-Length: 646
8484content-transfer-encoding: binary
8585content-id: 1
86-
86+
8787HTTP/1.1 200 OK
8888Content-Type: application/json;odata.metadata=minimal;charset=utf-8
8989Content-Length: 465
9090odata-version: 4.0
9191cache-control: no-cache, no-store, must-revalidate
92-
92+
9393{"@odata.context":"$metadata#configuration/$entity","@odata.metadataEtag":"W/\"20220211135922\"","root_id":"1","conf_id":"aef8f52b-fe16-1edc-a3fe-27a1e0226c7b","conf_name":"Z_CONFIG_VIA_PIPELINE_STEP","checkvariant":"ABAP_CLOUD_DEVELOPMENT_DEFAULT","pseudo_comment_policy":"SP","last_changed_by":"CC0000000017","last_changed_at":"2022-03-02T11:16:51.336172Z","block_findings":"0","inform_findings":"1","transport_check_policy":"C","check_tasks":true,"check_requests":false,"check_tocs":true,"is_default":false,"is_proxy_variant":false,"SAP__Messages":[]}
9494--B772E21DAA42B9571C778276B829D6C21
9595Content-Type: application/http
9696Content-Length: 428
9797content-transfer-encoding: binary
9898content-id: 2
99-
99+
100100HTTP/1.1 200 OK
101101Content-Type: application/json;odata.metadata=minimal;charset=utf-8
102102Content-Length: 247
103103odata-version: 4.0
104104cache-control: no-cache, no-store, must-revalidate
105-
105+
106106{"@odata.context":"$metadata#priority/$entity","@odata.metadataEtag":"W/\"20220211135922\"","root_id":"1","conf_id":"aef8f52b-fe16-1edc-a3fe-27a1e0226c7b","test":"CL_CI_ARS_COMPATIBILITY_CHECK","message_id":"010","default_priority":1,"priority":2}
107107--B772E21DAA42B9571C778276B829D6C21
108108Content-Type: application/http
109109Content-Length: 428
110110content-transfer-encoding: binary
111111content-id: 3
112-
112+
113113HTTP/1.1 4** OK
114114Content-Type: application/json;odata.metadata=minimal;charset=utf-8
115115Content-Length: 247
@@ -118,7 +118,7 @@ cache-control: no-cache, no-store, must-revalidate
118118
119119{"Some Error Messages possible in here!"}
120120--B772E21DAA42B9571C778276B829D6C21--
121-
121+
122122--B772E21DAA42B9571C778276B829D6C20--`
123123
124124 client := & abaputils.ClientMock {
@@ -150,39 +150,39 @@ cache-control: no-cache, no-store, must-revalidate
150150--B772E21DAA42B9571C778276B829D6C20
151151Content-Type: multipart/mixed; boundary=B772E21DAA42B9571C778276B829D6C21
152152Content-Length: 1973
153-
153+
154154--B772E21DAA42B9571C778276B829D6C21
155155Content-Type: application/http
156156Content-Length: 646
157157content-transfer-encoding: binary
158158content-id: 1
159-
159+
160160HTTP/1.1 200 OK
161161Content-Type: application/json;odata.metadata=minimal;charset=utf-8
162162Content-Length: 465
163163odata-version: 4.0
164164cache-control: no-cache, no-store, must-revalidate
165-
165+
166166{"@odata.context":"$metadata#configuration/$entity","@odata.metadataEtag":"W/\"20220211135922\"","root_id":"1","conf_id":"aef8f52b-fe16-1edc-a3fe-27a1e0226c7b","conf_name":"Z_CONFIG_VIA_PIPELINE_STEP","checkvariant":"ABAP_CLOUD_DEVELOPMENT_DEFAULT","pseudo_comment_policy":"SP","last_changed_by":"CC0000000017","last_changed_at":"2022-03-02T11:16:51.336172Z","block_findings":"0","inform_findings":"1","transport_check_policy":"C","check_tasks":true,"check_requests":false,"check_tocs":true,"is_default":false,"is_proxy_variant":false,"SAP__Messages":[]}
167167--B772E21DAA42B9571C778276B829D6C21
168168Content-Type: application/http
169169Content-Length: 428
170170content-transfer-encoding: binary
171171content-id: 2
172-
172+
173173HTTP/1.1 200 OK
174174Content-Type: application/json;odata.metadata=minimal;charset=utf-8
175175Content-Length: 247
176176odata-version: 4.0
177177cache-control: no-cache, no-store, must-revalidate
178-
178+
179179{"@odata.context":"$metadata#priority/$entity","@odata.metadataEtag":"W/\"20220211135922\"","root_id":"1","conf_id":"aef8f52b-fe16-1edc-a3fe-27a1e0226c7b","test":"CL_CI_ARS_COMPATIBILITY_CHECK","message_id":"010","default_priority":1,"priority":2}
180180--B772E21DAA42B9571C778276B829D6C21
181181Content-Type: application/http
182182Content-Length: 428
183183content-transfer-encoding: binary
184184content-id: 3
185-
185+
186186HTTP/1.1 200 OK
187187Content-Type: application/json;odata.metadata=minimal;charset=utf-8
188188Content-Length: 247
@@ -191,7 +191,7 @@ cache-control: no-cache, no-store, must-revalidate
191191
192192{"@odata.context":"$metadata#priority/$entity","@odata.metadataEtag":"W/\"20220211135922\"","root_id":"1","conf_id":"aef8f52b-fe16-1edc-a3fe-27a1e0226c7b","test":"CL_CI_ARS_COMPATIBILITY_CHECK","message_id":"011","default_priority":2,"priority":1}
193193--B772E21DAA42B9571C778276B829D6C21--
194-
194+
195195--B772E21DAA42B9571C778276B829D6C20--`
196196
197197 client := & abaputils.ClientMock {
@@ -328,7 +328,7 @@ Content-Type: application/json
328328 "transport_check_policy": "C",
329329 "check_tasks": true,
330330 "check_requests": false,
331- "check_tocs": true,
331+ "check_tocs": true,
332332 "_priorities": [
333333 {
334334 "test": "CL_CI_TEST_AMDP_HDB_MIGRATION",
0 commit comments