Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6400549 commit 2b9c757Copy full SHA for 2b9c757
java-sdk-function-test/src/test/java/com/aliyuncs/APIEncapsulateTest.java
@@ -116,8 +116,10 @@ public void FormPutTypeTest() {
116
this.client.getAcsResponse(request);
117
Assert.fail();
118
} catch (ClientException e) {
119
- Assert.assertEquals("ContentMD5NotMatched", e.getErrCode());
120
- Assert.assertEquals("Specified content md5 is not matched with your request body.", e.getErrMsg());
+ Assert.assertEquals("HTTPBadRequest", e.getErrCode());
+ Assert.assertEquals(
121
+ "The server could not comply with the request since it is either malformed or otherwise incorrect. "
122
+ + "The content type is None. Try use \"application/json\" instead.", e.getErrMsg());
123
}
124
125
0 commit comments