Fix test for error string
This commit is contained in:
parent
05505bfebb
commit
0109c2f8f1
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ func TestServerAuthHandlerErrors(t *testing.T) {
|
|||
method: http.MethodPost,
|
||||
requestBody: "{",
|
||||
expectedStatusCode: http.StatusBadRequest,
|
||||
expectedErrorString: http.StatusText(http.StatusBadRequest) + ": Malformed request body JSON",
|
||||
expectedErrorString: http.StatusText(http.StatusBadRequest) + ": Request body JSON malformed or structure mismatch",
|
||||
},
|
||||
{
|
||||
name: "body JSON failed validation",
|
||||
|
|
Loading…
Reference in a new issue