Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-malachyn committed Dec 13, 2024
1 parent 09bf64d commit 849b5a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engine/access/rest/websockets/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (s *WsControllerSuite) TestSubscribeRequest() {
conn.
On("WriteJSON", mock.Anything).
Return(func(msg interface{}) error {
defer close(done) // Signal that response has been sent
defer close(done)

response, ok := msg.(models.SubscribeMessageResponse)
require.True(t, ok)
Expand Down Expand Up @@ -143,7 +143,7 @@ func (s *WsControllerSuite) TestSubscribeRequest() {
conn.
On("WriteJSON", mock.Anything).
Return(func(msg interface{}) error {
defer close(done) // Signal that response has been sent
defer close(done)

response, ok := msg.(models.BaseMessageResponse)
require.True(t, ok)
Expand Down Expand Up @@ -175,7 +175,7 @@ func (s *WsControllerSuite) TestSubscribeRequest() {
conn.
On("WriteJSON", mock.Anything).
Return(func(msg interface{}) error {
defer close(done) // Signal that response has been sent
defer close(done)

response, ok := msg.(models.BaseMessageResponse)
require.True(t, ok)
Expand Down Expand Up @@ -216,7 +216,7 @@ func (s *WsControllerSuite) TestSubscribeRequest() {
conn.
On("WriteJSON", mock.Anything).
Return(func(msg interface{}) error {
defer close(done) // Signal that response has been sent
defer close(done)

response, ok := msg.(models.BaseMessageResponse)
require.True(t, ok)
Expand Down

0 comments on commit 849b5a8

Please sign in to comment.