diff --git a/src/middle-server/src/test/java/com/serverless/middle/HttpUtilTest.java b/src/middle-server/src/test/java/com/serverless/middle/HttpUtilTest.java index 36b80f3..41e00e7 100644 --- a/src/middle-server/src/test/java/com/serverless/middle/HttpUtilTest.java +++ b/src/middle-server/src/test/java/com/serverless/middle/HttpUtilTest.java @@ -31,6 +31,6 @@ public void testGetUrlWithoutParams() { @Test public void testBuildOSSEndpoint() { String region = "cn-hangzhou"; - Assertions.assertEquals("oss-cn-hangzhou.aliyuncs.com", HttpUtils.buildOSSEndpoint(region)); + Assertions.assertEquals("https://oss-cn-hangzhou.aliyuncs.com", HttpUtils.buildOSSEndpoint(region)); } }