Skip to content

Commit

Permalink
Correct unit tests for authentication and has measurements
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoff Bourne committed Mar 29, 2017
1 parent 286d2e9 commit 827ab85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poller/connection_stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TestConnectionStream_Connect(t *testing.T) {

conn := NewMockConnection(ctrl)
conn.EXPECT().Connect(gomock.Any(), gomock.Any(), gomock.Any())
conn.EXPECT().Done().Return(done)
conn.EXPECT().Done().AnyTimes().Return(done)
conn.EXPECT().GetLogPrefix().AnyTimes().Return("1234")
conn.EXPECT().Close().AnyTimes().Do(func() {
t.Log("Mock conn is closing")
Expand Down

0 comments on commit 827ab85

Please sign in to comment.