go 1.17 bump: fix unit test failures
Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
parent
a86949d0be
commit
6c29f347b4
@ -261,7 +261,7 @@ func TestIssue(t *testing.T) {
|
|||||||
clock: func() time.Time { return now },
|
clock: func() time.Time { return now },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
wantErr: "could not parse CA certificate: asn1: syntax error: sequence truncated",
|
wantErr: "could not parse CA certificate: x509: malformed certificate",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "signing error",
|
name: "signing error",
|
||||||
|
@ -103,7 +103,7 @@ var (
|
|||||||
fositeInvalidPayloadErrorBody = here.Doc(`
|
fositeInvalidPayloadErrorBody = here.Doc(`
|
||||||
{
|
{
|
||||||
"error": "invalid_request",
|
"error": "invalid_request",
|
||||||
"error_description": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Unable to parse HTTP body, make sure to send a properly formatted form request body."
|
"error_description": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. The POST body can not be empty."
|
||||||
}
|
}
|
||||||
`)
|
`)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user