Skip to content

Commit

Permalink
Update functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tommysitu committed Feb 25, 2023
1 parent ffb79d4 commit 6b2c5fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions functional-tests/testdata/form_data_match.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ var FormDataMatch = `{
}],
"client_assertion": [{
"matcher": "jwt",
"value": "{\"header\":{\"alg\":\"HS256\"},\"payload\":{\"sub\":\"1234567890\",\"name\":\"John Doe\"}}",
"doMatching": {
"value": "{\"header\":{\"alg\":\"HS256\"},\"payload\":{}}",
"doMatch": {
"matcher": "jsonpath",
"value": "$.payload",
"doMatching": {
"doMatch": {
"matcher": "jsonpath",
"value": "$.name",
"doMatching": {
"doMatch": {
"matcher": "exact",
"value": "John Doe"
}
Expand Down
4 changes: 2 additions & 2 deletions functional-tests/testdata/matcher_chaining.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ var MatcherChaining = `{
{
"matcher": "jsonpath",
"value": "$.items[4]",
"doMatching": {
"doMatch": {
"matcher": "jsonPartial",
"value": "{\"fruit\": \"pineapple\"}"
"value": "{\"name\": \"pineapple\"}"
}
}
]
Expand Down

0 comments on commit 6b2c5fd

Please sign in to comment.