From 67a4f24caf48af8514c2e9798ec509c8b11c73c2 Mon Sep 17 00:00:00 2001 From: tuwenlin Date: Mon, 1 Aug 2022 15:57:52 +0800 Subject: [PATCH] junit test --- .../src/test/java/com/serverless/middle/HttpUtilTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }