Skip to content

Commit

Permalink
fix(ws): fix api tests
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Gateru <[email protected]>
  • Loading branch information
felixgateru authored and dborovcanin committed Jan 24, 2025
1 parent 99afa30 commit 5fd66b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ws/api/endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ func TestHandshake(t *testing.T) {
require.Nil(t, err)
defer ts.Close()
pubsub.On("Subscribe", mock.Anything, mock.Anything).Return(nil)
es.On("Subscribe", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(nil)
es.On("Publish", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(nil)
pubsub.On("Publish", mock.Anything, mock.Anything, mock.Anything).Return(nil)
clients.On("Authenticate", mock.Anything, mock.Anything).Return(&grpcClientsV1.AuthnRes{Authenticated: true}, nil)
authn.On("Authenticate", mock.Anything, mock.Anything).Return(smqauthn.Session{}, nil)
Expand Down

0 comments on commit 5fd66b6

Please sign in to comment.