Skip to content

Commit 685e66e

Browse files
authored
Fix TestXrayConfig in xray_test.go
1 parent 7e3a8d3 commit 685e66e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

infra/conf/xray_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ func TestXrayConfig(t *testing.T) {
236236
{
237237
ProtocolName: "websocket",
238238
Settings: serial.ToTypedMessage(&websocket.Config{
239+
Host: "example.domain",
239240
Header: map[string]string{
240241
"host": "example.domain",
241242
},
@@ -288,6 +289,7 @@ func TestXrayConfig(t *testing.T) {
288289
{
289290
ProtocolName: "websocket",
290291
Settings: serial.ToTypedMessage(&websocket.Config{
292+
Host: "example.domain",
291293
Header: map[string]string{
292294
"host": "example.domain",
293295
},

0 commit comments

Comments
 (0)