TestServer introduction and revamp of functional tests. (#1940)

Allows for easy creation of Test server with temp backend.

changes
This commit is contained in:
karthic rao
2016-06-22 00:40:18 +05:30
committed by Harshavardhana
parent 409b4ddecb
commit ba5bb4a127
4 changed files with 730 additions and 1175 deletions

View File

@@ -262,7 +262,7 @@ var errorCodeResponse = map[APIErrorCode]APIError{
},
ErrSignatureDoesNotMatch: {
Code: "SignatureDoesNotMatch",
Description: "The request signature we calculated does not match the signature you provided.",
Description: "The request signature we calculated does not match the signature you provided. Check your key and signing method.",
HTTPStatusCode: http.StatusForbidden,
},
ErrMethodNotAllowed: {