Skip to content

Commit f8ae5a3

Browse files
committed
Fix test
1 parent f040988 commit f8ae5a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hub/hub_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ func (s *HubSuite) Test_NewConnectionsHub() {
129129
}
130130

131131
func (s *HubSuite) Test_AutoAccept() {
132+
s.mdnsService.EXPECT().SetAutoAccept(gomock.Any()).Return().AnyTimes()
133+
132134
s.sut.SetAutoAccept(true)
133135
value := s.sut.IsAutoAcceptEnabled()
134136
assert.True(s.T(), value)

0 commit comments

Comments
 (0)