Skip to content

Commit

Permalink
Merge pull request #528 from snyk/test/ed-238_restore-client-server-t…
Browse files Browse the repository at this point in the history
…ests

test: restore functional client-server tests
  • Loading branch information
pavel-snyk authored Apr 19, 2023
2 parents 1af3f13 + 48940c8 commit 2b04490
Show file tree
Hide file tree
Showing 2 changed files with 339 additions and 280 deletions.
16 changes: 8 additions & 8 deletions test/fixtures/server/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,50 @@
{
"path": "/echo-param/:param",
"method": "GET",
"origin": "http://localhost:${originPort}"
"origin": "http://localhost:9000"
},

{
"path": "/echo-body/:param?",
"method": "POST",
"origin": "http://localhost:${originPort}"
"origin": "http://localhost:9000"
},

{
"path": "/echo-headers/:param?",
"method": "POST",
"origin": "http://localhost:${originPort}"
"origin": "http://localhost:9000"
},

{
"path": "/echo-query",
"method": "GET",
"origin": "http://localhost:${originPort}"
"origin": "http://localhost:9000"
},

{
"path": "/echo-query/:param?",
"method": "GET",
"origin": "http://localhost:${originPort}"
"origin": "http://localhost:9000"
},

{
"path": "/test-blob/*",
"method": "GET",
"origin": "http://localhost:${originPort}"
"origin": "http://localhost:9000"
},

{
"path": "/test-blob-param/*",
"method": "GET",
"origin": "http://localhost:${originPort}"
"origin": "http://localhost:9000"
},

{
"//": "Block on headers",
"path": "/echo-param-protected/:param",
"method": "GET",
"origin": "http://localhost:${originPort}",
"origin": "http://localhost:9000",
"valid": [
{
"header": "accept",
Expand Down
Loading

0 comments on commit 2b04490

Please sign in to comment.