Skip to content

Commit

Permalink
add test headers to test json
Browse files Browse the repository at this point in the history
  • Loading branch information
bakicam committed Dec 19, 2024
1 parent 95057fa commit 313c6a1
Show file tree
Hide file tree
Showing 10 changed files with 140 additions and 0 deletions.
14 changes: 14 additions & 0 deletions adapters/admatic/admatictest/exemplary/banner.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id-banner",
Expand Down
14 changes: 14 additions & 0 deletions adapters/admatic/admatictest/exemplary/multiple-imps.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id-banner",
Expand Down
14 changes: 14 additions & 0 deletions adapters/admatic/admatictest/exemplary/native.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id-native",
Expand Down
14 changes: 14 additions & 0 deletions adapters/admatic/admatictest/exemplary/optional-params.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id-banner",
Expand Down
14 changes: 14 additions & 0 deletions adapters/admatic/admatictest/exemplary/video.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id",
Expand Down
14 changes: 14 additions & 0 deletions adapters/admatic/admatictest/supplemental/bad-request.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id-banner",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id",
Expand Down
14 changes: 14 additions & 0 deletions adapters/admatic/admatictest/supplemental/response-204.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id",
Expand Down
14 changes: 14 additions & 0 deletions adapters/admatic/admatictest/supplemental/server-error.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@
"httpCalls": [
{
"expectedRequest": {
"headers": {
"Content-Type": [
"application/json;charset=utf-8"
],
"Accept": [
"application/json"
],
"User-Agent": [
"test-user-agent"
],
"X-Forwarded-For": [
"123.123.123.123"
]
},
"uri": "http://pbs.admatic.com.tr?host=layer.serve.admatic.com.tr",
"body": {
"id": "test-request-id",
Expand Down

0 comments on commit 313c6a1

Please sign in to comment.