From 6b2c5fdeae147d438a910ec9e982ad3c53c2254d Mon Sep 17 00:00:00 2001 From: Tommy Situ Date: Tue, 21 Feb 2023 00:13:30 +0000 Subject: [PATCH] Update functional tests --- functional-tests/testdata/form_data_match.go | 8 ++++---- functional-tests/testdata/matcher_chaining.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/functional-tests/testdata/form_data_match.go b/functional-tests/testdata/form_data_match.go index e270617bb..a479e43d5 100644 --- a/functional-tests/testdata/form_data_match.go +++ b/functional-tests/testdata/form_data_match.go @@ -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" } diff --git a/functional-tests/testdata/matcher_chaining.go b/functional-tests/testdata/matcher_chaining.go index 177dd4aa0..94394324d 100644 --- a/functional-tests/testdata/matcher_chaining.go +++ b/functional-tests/testdata/matcher_chaining.go @@ -9,9 +9,9 @@ var MatcherChaining = `{ { "matcher": "jsonpath", "value": "$.items[4]", - "doMatching": { + "doMatch": { "matcher": "jsonPartial", - "value": "{\"fruit\": \"pineapple\"}" + "value": "{\"name\": \"pineapple\"}" } } ]