Fix websocket authentication test build gremlin (#4549)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
9c36ca9aca
Коммит
c77d3ae614
@@ -45,8 +45,6 @@ func TestWebSocketAuthentication(t *testing.T) {
|
|||||||
t.Fatal("should have closed")
|
t.Fatal("should have closed")
|
||||||
}
|
}
|
||||||
|
|
||||||
WebSocketClient.Close()
|
|
||||||
|
|
||||||
if conn, _, err := websocket.DefaultDialer.Dial(WebSocketClient.ApiUrl+"/users/websocket", nil); err != nil {
|
if conn, _, err := websocket.DefaultDialer.Dial(WebSocketClient.ApiUrl+"/users/websocket", nil); err != nil {
|
||||||
t.Fatal("should have connected")
|
t.Fatal("should have connected")
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user