Commit 433eae94 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix: Removing accept header when 204 no content is expected

parent 7f2630ca
Pipeline #6899 passed with stage
in 0 seconds
......@@ -121,7 +121,6 @@ Create application context
Create application context using wrong endpoint
[Arguments] ${content}
Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"}
${path} Catenate SEPARATOR= jsons/ ${content}
......@@ -133,7 +132,6 @@ Create application context using wrong endpoint
Update application context
[Arguments] ${context_id} ${content}
Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"}
${path} Catenate SEPARATOR= jsons/ ${content}
......@@ -145,7 +143,6 @@ Update application context
Update application context using wrong endpoint
[Arguments] ${context_id} ${content}
Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"}
${path} Catenate SEPARATOR= jsons/ ${content}
......@@ -156,7 +153,6 @@ Update application context using wrong endpoint
Delete application context
[Arguments] ${context_id}
Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"}
Set Headers {"Content-Length":"0"}
......@@ -166,7 +162,6 @@ Delete application context
Delete application context using wrong endpoint
[Arguments] ${context_id}
Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"}
Set Headers {"Content-Length":"0"}
......
......@@ -60,7 +60,6 @@ Obtain Application Location Availability Task
Obtain Application Location Availability Task using wrong endpoint
[Arguments] ${content}
Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"}
${path}= Catenate SEPARATOR= jsons/ ${content}
......
......@@ -81,7 +81,6 @@ Retrieve the application contexts list
Retrieve the application contexts list using wrong endpoint
Should Be True ${PIC_MEC_SYSTEM} == 1
Should Be True ${PIC_SERVICES} == 1
Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"}
GET ${apiRoot}/${apiName}/${apiVersion}/app_list_error
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment