From 0ff1c30f19096619be67fa90aaf8bec21c36cd03 Mon Sep 17 00:00:00 2001 From: cubxxw Date: Tue, 14 Nov 2023 06:27:41 +0000 Subject: [PATCH] cicd: robot automated Change --- test/e2e/api/user/curd.go | 2 +- test/e2e/framework/config/config.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/api/user/curd.go b/test/e2e/api/user/curd.go index 6f9959203..c0380b235 100644 --- a/test/e2e/api/user/curd.go +++ b/test/e2e/api/user/curd.go @@ -52,6 +52,6 @@ func GetUsersOnlineStatus(token string, userIDs []string) error { requestBody := GetUsersOnlineStatusRequest{ UserIDs: userIDs, } - + return sendPostRequestWithToken(url, token, requestBody) } diff --git a/test/e2e/framework/config/config.go b/test/e2e/framework/config/config.go index f790de5f3..ed3c6a258 100644 --- a/test/e2e/framework/config/config.go +++ b/test/e2e/framework/config/config.go @@ -43,8 +43,8 @@ type Config struct { // LoadConfig loads the configurations from environment variables or default values. func LoadConfig() *Config { return &Config{ - APIHost: getEnv("OPENIM_API_HOST", "127.0.0.1"), - APIPort: getEnv("API_OPENIM_PORT", "10002"), + APIHost: getEnv("OPENIM_API_HOST", "127.0.0.1"), + APIPort: getEnv("API_OPENIM_PORT", "10002"), // TODO: Set default variable MsgGatewayHost: getEnv("OPENIM_MSGGATEWAY_HOST", "default-msggateway-host"),