| 1 | diff --git a/app/kuma-dp/pkg/config/validate_test.go b/app/kuma-dp/pkg/config/validate_test.go
|
| 2 | index 1ba0b15ab8..9138791491 100644
|
| 3 | |
| 4 | |
| 5 | @@ -58,7 +58,7 @@ var _ = Describe("ValidateTokenPath", func() {
|
| 6 | }),
|
| 7 | Entry("can't parse token", testCase{
|
| 8 | token: "yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJOYW1lIjoidGVzdCIsIk1lc2giOiJkZWZhdWx0IiwiVGFncyI6e30sIlR5cGUiOiIifQ.rdQ6l_6hzT93Kbk9kO-kZYY7BaexUH8QknvbdRy_f6s",
|
| 9 | - expectedError: "not valid JWT token. Can't parse it.: token is malformed: could not JSON decode header: invalid character 'È' looking for beginning of value",
|
| 10 | + expectedError: "not valid JWT token. Can't parse it.: token is malformed: could not JSON decode header: invalid character 'Ș' looking for beginning of value",
|
| 11 | }),
|
| 12 | Entry("need 3 segments", testCase{
|
| 13 | token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJOYW1lIjoidGVzdCIsIk1lc2giOiJkZWZhdWx0IiwiVGFncyI6e30sIlR5cGUiOiIifQ",
|
| 14 | diff --git a/app/kumactl/cmd/apply/apply_test.go b/app/kumactl/cmd/apply/apply_test.go
|
| 15 | index 6453c40e1a..aee8640944 100644
|
| 16 | |
| 17 | |
| 18 | @@ -416,7 +416,7 @@ mesh: default
|
| 19 | networking:
|
| 20 | inbound: 0 # should be a string
|
| 21 | `,
|
| 22 | - err: `resource[0]: failed to parse resource: invalid Dataplane object: "error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number into Go value of type []json.RawMessage"`,
|
| 23 | + err: `resource[0]: failed to parse resource: invalid Dataplane object: "error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number into Go value of type []jsontext.Value"`,
|
| 24 | }),
|
| 25 | Entry("no resource", testCase{
|
| 26 | resource: ``,
|