Ver Fonte

Fix TestXrayConfig in xray_test.go

RPRX há 1 ano atrás
pai
commit
685e66e96b
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      infra/conf/xray_test.go

+ 2 - 0
infra/conf/xray_test.go

@@ -236,6 +236,7 @@ func TestXrayConfig(t *testing.T) {
 									{
 										ProtocolName: "websocket",
 										Settings: serial.ToTypedMessage(&websocket.Config{
+											Host: "example.domain",
 											Header: map[string]string{
 												"host": "example.domain",
 											},
@@ -288,6 +289,7 @@ func TestXrayConfig(t *testing.T) {
 									{
 										ProtocolName: "websocket",
 										Settings: serial.ToTypedMessage(&websocket.Config{
+											Host: "example.domain",
 											Header: map[string]string{
 												"host": "example.domain",
 											},