go 1.17 bump: fix unit test failures

Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
Monis Khan 2021-08-27 09:43:54 -04:00
parent a86949d0be
commit 6c29f347b4
No known key found for this signature in database
GPG Key ID: 52C90ADA01B269B8
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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."
} }
`) `)