Skip to content

Commit e3f7ac5

Browse files
committed
Fix TestMonitorWebsocket
Signed-off-by: Neil Twigg <neil@nats.io>
1 parent daeabd2 commit e3f7ac5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/monitor_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5615,7 +5615,7 @@ func TestMonitorWebsocket(t *testing.T) {
56155615
TLSMap: true,
56165616
TLSPinnedCerts: pinnedCerts,
56175617
SameOrigin: true,
5618-
AllowedOrigins: []string{"origin1", "origin2"},
5618+
AllowedOrigins: []string{"https://origin1", "https://origin2"},
56195619
Compression: true,
56205620
HandshakeTimeout: 4 * time.Second,
56215621
}
@@ -5633,7 +5633,7 @@ func TestMonitorWebsocket(t *testing.T) {
56335633
TLSMap: true,
56345634
TLSPinnedCerts: []string{"7f83b1657ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069"},
56355635
SameOrigin: true,
5636-
AllowedOrigins: []string{"origin1", "origin2"},
5636+
AllowedOrigins: []string{"https://origin1", "https://origin2"},
56375637
Compression: true,
56385638
HandshakeTimeout: 4 * time.Second,
56395639
}

0 commit comments

Comments
 (0)