diff options
Diffstat (limited to 'api/web_socket_test.go')
-rw-r--r-- | api/web_socket_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/web_socket_test.go b/api/web_socket_test.go index 7f9ce024b..49a4c6870 100644 --- a/api/web_socket_test.go +++ b/api/web_socket_test.go @@ -16,7 +16,7 @@ import ( func TestSocket(t *testing.T) { Setup() - url := "ws://localhost:" + utils.Cfg.ServiceSettings.Port + "/api/v1/websocket" + url := "ws://localhost" + utils.Cfg.ServiceSettings.ListenAddress + "/api/v1/websocket" team := &model.Team{DisplayName: "Name", Name: "z-z-" + model.NewId() + "a", Email: "test@nowhere.com", Type: model.TEAM_OPEN} team = Client.Must(Client.CreateTeam(team)).Data.(*model.Team) |