Skip to content

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
linhnt3400 committed Jan 7, 2025
1 parent ea1ca9f commit 7f7ec8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions v2/internal/server/broadcast_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ func TestSubscribe(t *testing.T) {
t.Fatal(err)
}

// local test
// request, err := http.NewRequest("GET", "ws://localhost:8082/eventlogws", nil)
// wsURL := "ws://localhost:8082/eventlogws"

// Establish a connection with the WebSocket server
conn, _, err := websocket.DefaultDialer.Dial(wsURL+"?id=cscv9ubrk77vgbjftu5g", request.Header)
if err != nil {
Expand Down

0 comments on commit 7f7ec8d

Please sign in to comment.