summaryrefslogtreecommitdiff
path: root/service/http/ssl_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/ssl_test.go')
-rw-r--r--service/http/ssl_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/http/ssl_test.go b/service/http/ssl_test.go
index c650a266..cf147be9 100644
--- a/service/http/ssl_test.go
+++ b/service/http/ssl_test.go
@@ -142,7 +142,7 @@ func Test_SSL_Service_Redirect(t *testing.T) {
c.Register(ID, &Service{})
assert.NoError(t, c.Init(&testCfg{httpCfg: `{
- "address": ":6031",
+ "address": ":6831",
"ssl": {
"port": 6902,
"redirect": true,
@@ -171,7 +171,7 @@ func Test_SSL_Service_Redirect(t *testing.T) {
time.Sleep(time.Millisecond * 500)
- req, err := http.NewRequest("GET", "http://localhost:6031?hello=world", nil)
+ req, err := http.NewRequest("GET", "http://localhost:6831?hello=world", nil)
assert.NoError(t, err)
r, err := sslClient.Do(req)